Hi Philipp,

It sounds like you know which sites or libraries would break if we ship
"negotiate" as the default, and also believe that giving them a few more
months to adapt will make those problems go away.

To avoid the risk that we burn in "disable" as the default, what do you
think about running a reverse orginal trial to just disable the feature?
This way, a deadline to adjust is built in.

Best regards,
Philip

Den ons 18 nov. 2026 19:03Philipp Hancke <[email protected]>
skrev:

> Hi Daniel,
>
> Am Mi., 18. Nov. 2026 um 17:34 Uhr schrieb Daniel Bratell <
> [email protected]>:
>
>> Possibly a stupid question: Why do we want to do this? Is it "more
>> encryption better" or is there some other less obvious purpose as well?
>>
> WebRTC generally encrypts on the wire but the header extensions are the
> exception (they are authenticated by the encryption at least). There are
> two cases that matter:
> * video folks are using an extension that samples some pixels of the
> frames, send it and compares the pixels after decoding on the receiver.
> This helps detecting and ultimatively fixing issues like green video,
> smearing and random garbage. Slides here
> <https://datatracker.ietf.org/meeting/122/materials/slides-122-avtcore-avtcore-slides-01.pdf#page=57>
>  with
> a "Note on Security" on slide 66.
> * servers typically use the "ssrc-audio-level" extension, a 7 bit number
> describing the audio level of every 20ms frame to determine who in a
> meeting is speaking without decoding the actual audio and show them larger.
> No known attacks but it is 2026...
>
> cheers
>
> Philipp
>
>> /Daniel
>> On 2026-11-17 20:32, 'Philipp Hancke' via blink-dev wrote:
>>
>> hey Philip,
>>
>> Am Di., 17. Nov. 2026 um 09:21 Uhr schrieb Philip Jägenstedt <
>> [email protected]>:
>>
>>> Hi Philipp,
>>>
>>> The default in https://w3c.github.io/webrtc-extensions/#configuration
>>> is "negotiate", so shipping it with "disable" wouldn't match the spec and
>>> would then presumably be failing a bunch of tests.
>>>
>>
>> Yes. I was not happy about having to add "disable" in the first place.
>>
>> If the only reason is a risk that "negotiate" isn't web compatible, would
>>> it be an option to ramp this up slowly with Finch to gain confidence? This
>>> would have to be done in a second step anyway, and I'm not sure I see the
>>> upside of deferring the risk discovery until after this has shipped.
>>>
>>
>> "web-compatbile" and WebRTC is tricky because browsers are fairly
>> reasonable pieces of software ;-)
>>
>> The problem I am trying to avoid are broken SDP parsers (browsers are
>> fine) such as the one that is currently blocking a rollout in
>>   https://issues.webrtc.org/issues/489794442
>> The "can you please postpone this change" ask is fairly common, in
>> particular from implementations with a long tail of customers or opensource
>> deployments.
>> We have seem some "SDP parsers" that echo back lines they do not
>> understand (which is not how the "offer answer model" works) which for
>> cryptex would cause sending RTP packets with encrypted header extensions.
>>
>> Rolling out with a default disable with the clear intent of switching in
>> a couple of months seems less friction to me than asking folks to put
>>   "disable"
>> into their peerconnection constructor now. The downside is that there
>> will be folks who do this and then never re-evaluate that decision which
>> means less adoption.
>> On the other hand we can ask them today, wait a bit and ship the API with
>> the proper "negotiate" default in Q1. Slightly slower for early adopters
>> but we are already three years behind the IETF on this one.
>>
>> Either way seems fine to me.
>>
>> cheers
>>
>> Philipp
>>
>>> Best regards,
>>> Philip
>>>
>>> On Thu, Nov 12, 2026 at 5:28 PM 'Philipp Hancke' via blink-dev <
>>> [email protected]> wrote:
>>>
>>>> *Contact emails*
>>>> [email protected], [email protected]
>>>>
>>>> *Explainer*
>>>>
>>>> https://github.com/fippo/webrtc-explainers/blob/gh-pages/rtp-header-extension-encryption/index.md
>>>>
>>>> *Specification*
>>>> https://w3c.github.io/webrtc-extensions/#rtp-header-extension-encryption
>>>>
>>>> *Summary*
>>>> Allows using SRTP encryption to cover RTP header extensions and
>>>> contributing source (CSRC) identifiers.
>>>>
>>>> *Blink component*
>>>> Blink>WebRTC>PeerConnection
>>>> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EWebRTC%3EPeerConnection%22>
>>>>
>>>> *Web Feature ID*
>>>> webrtc <https://webstatus.dev/features/webrtc>
>>>>
>>>> *Motivation*
>>>> This provides an implementation of RFC 9335 which extends the
>>>> encryption used by WebRTC to some fields that were so far transmitted in
>>>> plain over the network.
>>>>
>>>> *Search tags*
>>>> WebRTC <https://chromestatus.com/features#tags:WebRTC>, cryptex
>>>> <https://chromestatus.com/features#tags:cryptex>
>>>>
>>>> *TAG review status*
>>>> Not applicable
>>>>
>>>> *Risks*
>>>> *Interoperability and Compatibility*
>>>> Currently marked as at-risk in
>>>> https://github.com/w3c/webrtc-extensions/issues/234 due to lack of
>>>> implementations. There is a non-browser implementation in the Pion/WebRTC
>>>> project that is being tracked under
>>>> https://github.com/pion/webrtc/pull/3357 which will allow
>>>> interoperability testing.
>>>>
>>>> *Gecko*: No signal (
>>>> https://github.com/mozilla/standards-positions/issues/1413) Mozilla's
>>>> representative in the WebRTC WG approved changes to this feature to the
>>>> WebRTC Extensions spec in
>>>> https://github.com/w3c/webrtc-extensions/pull/256
>>>>
>>>> *WebKit*: No signal (
>>>> https://github.com/WebKit/standards-positions/issues/671) Apple's
>>>> representative in the WebRTC WG approved changes to this feature to the
>>>> WebRTC Extensions spec in
>>>> https://github.com/w3c/webrtc-extensions/pull/256
>>>>
>>>> *Web developers*: No signals
>>>>
>>>> *Activation*
>>>> We should switch the default from "disable" to "negotiate" but for the
>>>> initial roll-out "disable" seems less risky.
>>>>
>>>> *Security*
>>>> Note that a "disable" option was added to
>>>> https://github.com/w3c/webrtc-extensions/pull/256/changes This is not
>>>> a downgrade attack as negotiating cryptex is not mandatory.
>>>>
>>>> *WebView application risks*
>>>>
>>>> Does this intent deprecate or change behavior of existing APIs, such
>>>> that it has potentially high risk for Android WebView-based applications?
>>>> *No information provided*
>>>>
>>>>
>>>> *Debuggability*
>>>> *No information provided*
>>>>
>>>> *Will this feature be supported on all six Blink platforms (Windows,
>>>> Mac, Linux, ChromeOS, Android, and Android WebView)?*
>>>> Yes
>>>>
>>>> *Is this feature fully tested by web-platform-tests
>>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?*
>>>> Yes
>>>> Barebones tests in
>>>> webrtc-extensions/RTCConfiguration-rtpHeaderEncryptionPolicy.html along
>>>> with libWebRTC tests at a lower level.
>>>>
>>>> *Flag name on about://flags*
>>>> *No information provided*
>>>>
>>>> *Finch feature name*
>>>> RtcRtpHeaderEncryptionPolicy
>>>>
>>>> *Rollout plan*
>>>> Will ship enabled for all users
>>>>
>>>> *Requires code in //chrome?*
>>>> False
>>>>
>>>> *Tracking bug*
>>>> https://issues.chromium.org/issues/455813732
>>>>
>>>> *Measurement*
>>>> UMA WebRTC.PeerConnection.CryptexUsage for the percentage of connected
>>>> peerconnections using cryptex
>>>>
>>>> *Estimated milestones*
>>>> Shipping on desktop 160
>>>> Shipping on Android 160
>>>> Shipping on WebView 160
>>>>
>>>> *Anticipated spec changes*
>>>>
>>>> Open questions about a feature may be a source of future web compat or
>>>> interop issues. Please list open issues (e.g. links to known github issues
>>>> in the project for the feature specification) whose resolution may
>>>> introduce web compat/interop risk (e.g., changing to naming or structure of
>>>> the API in a non-backward-compatible way).
>>>> *No information provided*
>>>>
>>>> *Link to entry on the Chrome Platform Status*
>>>> https://chromestatus.com/feature/5177732519559168?gate=6146552587485184
>>>>
>>>> This intent message was generated by Chrome Platform Status
>>>> <https://chromestatus.com/>.
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "blink-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion visit
>>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKiJELCpbqjibB2ovBfrZ6nfgXrBRXm9F2JRcJ3qF3sd88w%40mail.gmail.com
>>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKiJELCpbqjibB2ovBfrZ6nfgXrBRXm9F2JRcJ3qF3sd88w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "blink-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion visit
>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKi%2Bk2KFqEciyaWScoLGh9vA_9YMpORLzXpVeqOok%2BhpeuQ%40mail.gmail.com
>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKi%2Bk2KFqEciyaWScoLGh9vA_9YMpORLzXpVeqOok%2BhpeuQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYehBqbOGzdtV4Uz%3Dd%2BGh9eLh%3DvusVrCHkLZCnO%3D1PZtNQ%40mail.gmail.com.

Reply via email to