What happens quite often with a not so good internet connection is the following: the peerconnection status goes to disconnected because some frames were not received, the "disconnected" warning is shown but then the connection is directly back and you only see the warning flicker for a single moment.
This is disturbing the chat experience and I would suggest either
A) don't completely replace the video but show a small loading icon over it or
B) have a timeout of e.g. 1s before the warning is shown
...or both?
What happens quite often with a not so good internet connection is the following: the peerconnection status goes to disconnected because some frames were not received, the "disconnected" warning is shown but then the connection is directly back and you only see the warning flicker for a single moment.
This is disturbing the chat experience and I would suggest either
A) don't completely replace the video but show a small loading icon over it or
B) have a timeout of e.g. 1s before the warning is shown
...or both?