Enable WARP (SPED + SNAP), gated by the server - #1094
Draft
hiroshihorie wants to merge 1 commit into
Draft
Conversation
Enables WARP on the client, negotiated with the SFU. SPED (DTLS-in-STUN) via the WebRTC-IceHandshakeDtls field trial set before factory creation, and SNAP (SCTP INIT in SDP) via enableSctpSnap on the default RTCConfiguration. When the server does not enable WARP nothing is advertised and the connection falls back to plain DTLS/SCTP, so there is no client side toggle. Mirrors rust-sdks #1342. Requires an m150 webrtc-xcframework release including webrtc-sdk/webrtc#283. Both Package.swift and Package@swift-6.2.swift pins (currently 144.7559.13) must be bumped before this builds.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables WARP, negotiated with the SFU. SPED (DTLS-in-STUN) via the WebRTC-IceHandshakeDtls field trial, SNAP (SCTP INIT in SDP) via enableSctpSnap on the default configuration. Nothing engages unless the server enables warp, otherwise plain DTLS/SCTP. Mirrors livekit/rust-sdks#1342.
Blocked on an m150 webrtc-xcframework release including webrtc-sdk/webrtc#283, then both Package manifest pins need bumping.
Note: SPED re-enters the #929 crash surface that #1015 disabled. The m150 teardown path should be validated (or rust field data observed) before this lands. SNAP has no such history.
🤖 Generated with Claude Code