Modifying Published Streams
Last updated
Last updated
Once you publish a stream you can change which tracks are published. For example, you may have only published the audio track with publishStream({sendAudio: true, sendVideo: false})
. To change the published stream to include your video feed you can use the method like so:
To disable video you would make a call like the following:
To change whether or not the audio track is published you can use .
To the current microphone and/or camera use the and methods. For more information see .