react-native-twilio-video-webrtc icon indicating copy to clipboard operation
react-native-twilio-video-webrtc copied to clipboard

Room not disconnecting even after calling .disconnect() on ref

Open Sourabh2001-dec opened this issue 2 years ago • 4 comments

Steps to reproduce

  1. Connect to a room using the .connect() method
  2. Disconnect the room and pop the screen from navigation
  3. 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"

Sourabh2001-dec avatar Dec 13 '22 12:12 Sourabh2001-dec

any update on this? I too am facing the same issue.

mayur-shelar avatar Jan 19 '23 17:01 mayur-shelar

@mayur-shelar still happening for me too..

cengizhanhakan avatar Jan 31 '23 13:01 cengizhanhakan

Same happening to me as well

ZaidQ797 avatar Mar 13 '23 04:03 ZaidQ797

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.

deepanshucse avatar Aug 30 '23 05:08 deepanshucse