-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Summary
When WebSocket reconnection occurs for all users connected to the Room due to network-related lag on the server, the MediaStreamSettings of these clients may appear to be broken. Consequently, after the reconnection, device_video becomes disabled, and display_video becomes enabled, leading to screen sharing being activated for all users. This behavior seems to indicate a potential bug in our reactive state synchronization mechanism triggered during WebSocket reconnection through a full state update. However, certain aspects do not look related to this mechanism, so a more in-depth investigation needed.
Platform information
Not platform specific.
Steps to reproduce
- Start group call
- Members are connecting
- Network lag happens
What is the current bug behavior?
- Camera and microphone is disabled on every member now
- Screen-sharing is enabled on every member now (without user intention)
What is the expected correct behavior?
- All
MediaStreamSettingsshould be the same as user selected before
Possible fixes
It looks like a problem in our state synchronization after WebSocket reconnection mechanism. So most likely bug is somewhere here, but firstly we need constant reproduce of this bug. We can trigger state synchronization on different stages of the call and try to catch this bug locally.