Open huynguyen96419 opened 1 week ago
Hello, What do you mean by mute audio?
To mute microphone of your local participant please use toggleSendAudio
void toggleSendAudio(boolean enableAudio);
To mute incoming audio of all remote participants, use void toggleAudioOfAllParticipants(boolean enabled);
Also please ensure that you are using the latest SDK version.
Hi @huynguyen96419, Did you have a chance to try what @lastpeony suggested?
Hello, What do you mean by mute audio?
To mute microphone of your local participant please use toggleSendAudio
void toggleSendAudio(boolean enableAudio);
To mute incoming audio of all remote participants, use void toggleAudioOfAllParticipants(boolean enabled);
Also please ensure that you are using the latest SDK version.
You misunderstood my question. What I mean is the audio of the media when playing. I saw that the iOS SDK has a method called enableAudioTrack, but the Android SDK does not have that method. So I had to fork the library and make changes there.
Short description
I want to mute audio by using setAudioEnabled(false) but it's doesn't work. And how i mute audio in Android SDK?
Environment
Steps to reproduce
Expected behavior
Audio mute when i click button mute
Ask your questions on Ant Media Github Discussions