Help - Need just audio transmition, no video.

Max

Administrator
Staff member
Hello,

A stream can be published as audio-only using the constraints:
Code:
publishStream = session.createStream({
    name: streamName,
    display: localVideo,
    constraints : {
        audio: true,
        video: false
    }
});
publishStream.publish();
Please see the Media Devices example (demo).
 
Top