You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several actions are triggered when an user goes to talk to another user:
PeerJS notifies the user B that the user A wants to talk to him
The user B accepts or not the connection
If the connection is established, getUserMedia is triggered and returns a stream to send to the other user A
The user A is notified of a new connection and receives the stream from the user B
The problem is that getUserMedia can be long: from 1 to x seconds during this time the calling user does not receive any news from the remote user.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
By creating a fake stream (without sound and a black pixel) we can very quickly respond to the remote user and thus have a more pleasant experience. Then you just have to update the "tracks" of the fake stream with the real tracks.
Please tell us about your environment:
Platform: Web & Desktop
Browser: Chrome 103
Language: FR
The text was updated successfully, but these errors were encountered:
What is the current behavior?
Several actions are triggered when an user goes to talk to another user:
The problem is that getUserMedia can be long: from 1 to x seconds during this time the calling user does not receive any news from the remote user.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
By creating a fake stream (without sound and a black pixel) we can very quickly respond to the remote user and thus have a more pleasant experience. Then you just have to update the "tracks" of the fake stream with the real tracks.
Please tell us about your environment:
Platform: Web & Desktop
Browser: Chrome 103
Language: FR
The text was updated successfully, but these errors were encountered: