voxeet / comms-sdk-react-native

Dolby.io Communications SDK for React Native
https://www.npmjs.com/package/@dolbyio/comms-sdk-react-native
MIT License
8 stars 0 forks source link

Multiple stream events received when changing camera #157

Closed graduad closed 1 year ago

graduad commented 1 year ago

It has been noticed that when a participant is sharing video from their camera, but then changes to a different video device, several events are being received, with one of the intermediate events containing no video streams. This means that there is a short gap between the old and new video streams.

mkrzy-dolby commented 1 year ago

What platform? iOS/Android or both?

codlab commented 1 year ago

if it's the web which is changing the camera device, it's most likely that the implementation is doing a stopVideo then startVideo. In such event, StreamUpdated will be fired to warn that no camera is received and then a new stream event containing the video stream will be received.

FabienLavocat commented 1 year ago

Like @codlab is saying, this is related to the Web SDK behavior of changing camera, this has been fixed in the Web SDK 3.10.0 beta.1. I will close this ticket for now. cc: @dannyBies

dannyBies commented 1 year ago

I've just confirmed that this works great now, thanks!