1

Opentok what are the events to mute/unmute and on/off subscriber video in video conferencing Everywhere I can only found -

publisher.publishAudio(false);
publisher.publishAudio(true);

And for Video

publisher.publishVideo(false);
publisher.publishVideo(true);

Nothing how to on/off particular subscriber video or Audio

Vivek Kumar
  • 120
  • 7

1 Answers1

0

OpenTok Developer Advocate here.

On the subscriber object you have access to the subscribeToAudio and subscribeToVideo methods. These can be used to toggle subscription to audio/video for each subscription. You can learn more about them at:

subscribeToAudio

subscribeToVideo

Michael Jolley
  • 370
  • 3
  • 9