WebRTC datachannel failed to create after second exchange of SDPs
Categories
(Core :: WebRTC: Networking, defect, P2)
Tracking
()
People
(Reporter: djpeton, Unassigned, NeedInfo)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
Minimal example is available here:
https://jsfiddle.net/9eu0kbL8/3/
Two local peer connections created with datachannel only (no video or audio).
First SDP exchange happened between peer connections.
Peer connections connected.
4 datachannels created.
Seconds SDP exchange performed (no changes in SDP).
4 additional datachannels created
Actual results:
Datachannel created before second SDP exchange are open, but 4 datachannels created after are connecting and have incorrect id (65535)
Console output:
1 1 open
2 0 open
3 3 open
4 5 open
5 2 open
6 4 open
7 65535 connecting
8 65535 connecting
9 65535 connecting
10 65535 connecting
Expected results:
All datachannels expected to be open and have correct id.
Console output:
1 1 open
2 0 open
3 3 open
4 5 open
5 2 open
6 4 open
7 6 open
8 7 open
9 8 open
10 9 open
Updated•6 years ago
|
Comment 4•5 years ago
|
||
Let's call this a duplicate then.
Description
•