blackuy/react-native-twilio-video-webrtc

When other party stops sharing their camera stream, their video stream is stuck on last frame instead of going blank

Opened this issue · 3 comments

Steps to reproduce

  1. Join a room on Android or iOS (device A)
  2. Join the same room from another device (device B) with a video stream
  3. Pause/Stop the video stream from another device (device B)
  4. On device A, the video stream from device B will be frozen on the last frame instead of black

Expected behaviour

The stream should go blank / black.

Actual behaviour

The stream freezes on the last frame that was on device B when they stopped their stream.

Check out this YouTube video to see the issue in action:
https://youtu.be/1qZnOXJwM4c (Android)
https://youtu.be/s-5yR8EEbZw (iOS)
On the left you can see the web based implementation, and on the right you can see the stream from an Android or iOS device.
At the beginning you can see both streams. Once the "Stop camera" button is pressed on the device on the left, you can see the frame gets frozen on the Android device on the right.

react-native-twilio-video-webrtc

Version: 2.1.0

d4n1b commented

I'm facing the same issue with react-native-twilio-video-webrtc@3.2.0. @hrastnik did you manage to make it work at the end?

Haven't fixed it.

The same issue in iOS, using @3.2.0, it freezes with the last frame.
For me, it is working fine in Android though.
I also could not find any fix, anyone?