blackuy / react-native-twilio-video-webrtc

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

onParticipantVideo Enable/disable not being consistent #682

Open gautamvpn opened 1 year ago

gautamvpn commented 1 year ago

Steps to reproduce

1._onParticipantEnabledVideoTrack function not trigger after first time.

  1. When i disable the camera, its disable the remote stream with existing participantSid but when is enable the the camera its create a new participantSid.
  2. if i keep the camera off in remote stream and try to camera toggle in local, automatic remote stream is disappear. 4.When i disable the camera, sometime the remote stream is freeze instead of disabling the stream.

Expected behaviour

video Enable/disable should work consistent

Actual behaviour

Their behaviour is inconsitent, when is try to camera on/off.

Environment

react-native-twilio-video-webrtc

Version: npm version or "master"