react-native-twilio-video-webrtc
react-native-twilio-video-webrtc copied to clipboard
Room not disconnecting even after calling .disconnect() on ref
Steps to reproduce
- Connect to a room using the .connect() method
- Disconnect the room and pop the screen from navigation
- Again try to connect to the same room
Expected behaviour
on calling disconnect() room should be disconnected and user should leave the room.
Actual behaviour
on calling disconnect(), onRoomDidDisconnect is fired with no error and again on reconnecting the room it gives the error that "Participant disconnected because of duplicate identity" also the mic and video capture remains active in the background.
Environment
- Node.js version: v16.17.0
- React Native version: 0.70.5
- React Native platform + platform version: Android 11
react-native-twilio-video-webrtc
Version: npm version or "master"
any update on this? I too am facing the same issue.
@mayur-shelar still happening for me too..
Same happening to me as well
Is there any update on this? I'm also experiencing the same issue. I disconnected the call in 2 minutes, but the Twilio dashboard is showing a duration of 19 - 40 minutes.