twilio / twilio-video-app-android

A collaboration application built with the Twilio Video Android SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to mute and unmute other participant in room?

gokuCoder opened this issue · comments

I have implemented multi-party video nowI want to mute and unmute some participant in room.

is there any way i can mute or unmute other participant in room

Thanks for reaching out @gokuCoder ! Yes, there is a way to mute RemoteAudioTracks with the video SDK. If you take a look at the onAudioTrackSubscribed function within the RemoteParticipantListener class, there is a remoteAudioTrack parameter. In your application you can invoke enablePlayback() with false passed in to mute the corresponding remote participant. Hope that helps!

I'm going to close this issue for now. Please feel free to reopen if you are still running into issues. Thanks!