Browser interop checks the SRTP cipher; docs on SRTP, BWE and simulcast
The interop test now reads the transport's getStats() and requires srtpCipher AES_CM_128_HMAC_SHA1_80 in both directions, and bandwidth estimates from Chromium's transport-cc feedback. The docs describe the SRTP profile order, the bandwidth estimation and the simulcast layers of our stream, and the findings with Chromium 141. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
6 files changed
+86
-9
No files matched your search
@@ -208,6 +208,19 @@ libwebrtc, the stack the official client is built on:
|
||||
resolver (or its server-reflexive candidates) on our side.
|
||||
- str0m answers in its own codec order and the offerer sends the answer's
|
||||
first codec, so `Peer::answer` orders the viewer's codecs like the offer.
|
||||
- SRTP profile: libwebrtc answers our `setup:actpass` offer as DTLS client
|
||||
(`setup:active`) and offers AEAD_AES_256_GCM, AEAD_AES_128_GCM and
|
||||
AES_CM_128_HMAC_SHA1_80; the server picks. dimpl, str0m's DTLS, always
|
||||
picked AES-256-GCM, while streams between official clients are reported to
|
||||
use AES_CM_128_HMAC_SHA1_80 (and official clients failed with ours). Our
|
||||
peers now pick in the order of `PeerConfig::srtp_profiles`, by default
|
||||
AES_CM_128_HMAC_SHA1_80 first; Chromium's `getStats()` confirms
|
||||
`srtpCipher: AES_CM_128_HMAC_SHA1_80` (DTLS 1.2,
|
||||
`TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256`). Whether this was what broke the
|
||||
official client is still to be confirmed with it.
|
||||
- With bandwidth estimation on our streamer peer, Chromium's transport-cc
|
||||
feedback gives estimates; the offer is the same as without (str0m always
|
||||
offers transport-cc and abs-send-time).
|
||||
|
||||
## Open questions
|
||||
|
||||
|
||||
Reference in new issue
Block a user