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!