blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
609 stars 404 forks source link

twilioVideo.current.connect does not work #574

Open rehan-beam opened 2 years ago

rehan-beam commented 2 years ago

Steps to reproduce

  1. twilioVideo.current.connect({ accessToken: response.data.token, }); should call onRoomDidConnect function

Expected behaviour

User should be connected to the room and onRoomDidConnect should be called

Actual behaviour

onRoomDidConnect is not called and after a few seconds onRoomDidFailToConnect is called and a signaling connection error is thrown. The same implementation was working about 2 weeks ago but suddenly stopped working. There hasn't been any code changes to this component.

Environment

react-native-twilio-video-webrtc

Version: 1.0.2

befirst commented 2 years ago

@rehan-beam It works after I updated to v2.0.0. I had the same thing as you, the video rooms just stopped working at some moment a few weeks ago.