WebRTC DataChannel unordered is not working if channel is negotiated
Categories
(Core :: WebRTC: Networking, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: useruser, Assigned: boivie)
Details
Attachments
(2 files)
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
RFC8832: "However, before the DATA_CHANNEL_ACK message or any other message
has been received on a data channel, all other messages ... MUST be sent
ordered, ... After the DATA_CHANNEL_ACK or any other message has been received
on the data channel, messages containing user data MUST be sent ordered on
ordered data channels and MUST be sent unordered on unordered data channels."
Before this commit, it always expected DATA_CHANNEL_ACK, but as some clients
don't send it (spec violation, but that's how it is), it would then always send
ordered even on unordered channels.
What is mentioned above from the RFC shouldn't apply to pre-negotiated data
channels, as those don't explicitly send DATA_CHANNEL_OPEN/ACK. This commit
also ensures that those send unordered on unordered channels from the start.
Depends on D191299
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
Try looks fine.
| Assignee | ||
Comment 7•2 years ago
|
||
I have manually verified that pre-negotiated channels can now send unordered SCTP data chunks;
Frame 43: 174 bytes on wire (1392 bits), 174 bytes captured (1392 bits) on interface Fake IF, text2pcap, id 0 (outbound)
Ethernet II, Src: Receive_00 (20:52:45:43:56:00), Dst: Send_00 (20:53:45:4e:44:00)
Internet Protocol Version 4, Src: 10.2.2.2, Dst: 10.1.1.1
Stream Control Transmission Protocol, Src Port: 5000 (5000), Dst Port: 5000 (5000)
Source port: 5000
Destination port: 5000
Verification tag: 0x471dff3c
[Association index: disabled (enable in preferences)]
Checksum: 0x68a35404 [unverified]
[Checksum Status: Unverified]
DATA chunk (unordered, complete segment, TSN: 3124953040, SID: 113, SSN: 0, PPID: 53, payload length: 109 bytes)
Data (109 bytes)
Data: <redacted>…
[Length: 109]
Reproduced using http://meet.new - check e.g. data sent on SCTP stream ID 113 or 115.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
| bugherder | ||
Description
•