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
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Setting local description is considered as negotiating. (#486)
When the impolite side receives offer after `setLocalDescription`, before it's
resolved, it sets both local description and remote description. Its
signaling state changes from stable to have-local-offer, to stable, to
have-remote-offer. It doesn't comply with the behavior of impolite side
described in perfect negotiation, which is ignoring the remote
description.
Test: P2P case WebRTC collision should be resolved.
Copy file name to clipboardExpand all lines: src/sdk/p2p/peerconnection-channel.js
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,8 @@ class P2PPeerConnectionChannel extends EventDispatcher {
96
96
this._sendDataPromises=newMap();// Key is data sequence number, value is an object has |resolve| and |reject|.
97
97
this._addedTrackIds=[];// Tracks that have been added after receiving remote SDP but before connection is established. Draining these messages when ICE connection state is connected.
0 commit comments