Skip to content

Commit 7416a08

Browse files
authored
feat(webrtc): update webrtc-rs to v0.17
The reason tests were failing was ordering in the SDP offer/answer negotiation sequence. We were creating the negotiated noise data channel after offer/answer setup. With 0.17, that timing is no longer safe because SCTP startup depends on SDP state that needs the datachannel/application section to be present in time. `create_data_channel` and `set_remote_description` communicate through shared `RTCPeerConnection` state, and `RTCPeerConnection` committed local SDP before `create_data_channel` updated its internal datachannel/SCTP state. This was fixed by moving negotiated noise data-channel creation to happen before SDP offer/answer generation, so SCTP startup in `webrtc` `0.17` sees valid sctp-port state and the channel reliably opens. Superseeds #6391. cc @ackintosh Pull-Request: #6429.
1 parent c4efffc commit 7416a08

4 files changed

Lines changed: 226 additions & 148 deletions

File tree

0 commit comments

Comments
 (0)