Open rahulbaroqoe opened 3 years ago
So just so I understand this a little more clearly:
Is that right?
Ya, participant B however joins with enableAudio flag set to false in connect params.
We did some digging and found enableRemoteAudio being set using enableAudio as opposed to enableRemoteAudio. Wanted to understand the purpose of enableRemoteAudio, assuming enableAudio is used to set the state for device mic.
Oh, you're totally right, enableAudio triggers both behaviors right now. I think the right thing to do would be to have separate flags to playRemoteAudio and enableLocalAudio. Would that solve the problem for your use case?
Steps to reproduce
Expected behaviour
Remote Audio should be enabled
Actual behaviour
Remote audio becomes silent, the participant is not able to hear anything until they toggle remote audio.
Environment
react-native-twilio-video-webrtc
Version: npm version or "master": master || react-native-twilio-video-webrtc@2.0.0