[External API] How can mute/unmute without leave and rejoin?

Hello,

In our react-native application, instead of using default Jitsi interface, we prefer to customize it so we hide the mute button of Jitsi and use our own button.

The problem is when an user want to mute himself, he has to quit the call and rejoin the call with the following option audioMuted=true.

I don’t know how to update the mute/unmute state in the call, I only found the join and leave functions in the SDK: https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk#jitsimeetview

This is our code to join with micro off:

RNJitsiMeetConferenceOptions options = new RNJitsiMeetConferenceOptions.Builder()
                        .setRoom(url)
                        .setAudioOnly(true)
                        .setAudioMuted(true)
                        .setUserInfo(_userInfo)
                        .build();
                mJitsiMeetViewReference.getJitsiMeetView().join(options);

Please tell me how to update the mute/unmute option without having to leave then rejoin. Thank you very much!

1 Like

Same issue in web

Yeah, I don’t know why it is not explained in the SDK.