Event at subscriber's end when publisher mute or unmute their mic on Windows SDK Event at subscriber's end when publisher mute or unmute their mic on Windows SDK

Event at subscriber's end when publisher mute or unmute their mic on Windows SDK

Maria Scieranska

Objective

To detect when a publisher mute or unmute their audio in a live session on Windows SDK

Procedure

Users can add a listener to StreamHasAudioChanged API to know when a publisher's stream changes between having audio and not having audio.

StreamHasAudioChanged

EventHandler<StreamEventArgs> OpenTok.Session.StreamHasAudioChanged

Called when a stream in the session changes between having audio and not having audio.

Additional Information

For more info, please refer: https://tokbox.com/developer/sdks/windows/reference/class_open_tok_1_1_session.html#a905856487e0685288c2ee45d1149a180