Skip to content

Conversation

@alvestrand
Copy link
Contributor

@alvestrand alvestrand commented Aug 14, 2025

Fixes #237


Preview | Diff

@youennf
Copy link
Contributor

youennf commented Aug 28, 2025

Are there some existing WPT tests or should we add some?

maitrungduc1410 pushed a commit to maitrungduc1410/webrtc that referenced this pull request Aug 30, 2025
This changes HeaderExtensionsToNegotiate to remember the result
of the last negotiation.

Corresponding spec change: w3c/webrtc-extensions#238

Bug: webrtc:439514253
Change-Id: I420b65f252398b1bb72d1938c48dc548ec18fd60
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/404946
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#45493}
@alvestrand
Copy link
Contributor Author

There are some existing WPT tests that need modification (because they test the previous behaviour). I'm looking into that.

index.html Outdated
<p>Set {{RTCRtpTransceiver/[[HeaderExtensionsToNegotiate]]}} to the
<p>If transceivers of the same kind exist in the current PeerConnection,
copy {{RTCRtpTransceiver/[[HeaderExtensionsToNegotiate]]}} from
the first such transceiver.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit vague, we could use how https://w3c.github.io/webrtc-pc/#dom-peerconnection-gettranseceivers is defining the list of transceivers.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this RTCPeerConnection object's set of transceivers, in insertion order.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went with a reference to [=CollectTransceivers=], should be non-vague....

@alvestrand
Copy link
Contributor Author

Note: Find an example header extension that has to be consistent for all media sections on a transport (BUNDLE).

in a bundle,
and any other transceiver exists that will be included in the same bundle,
copy the {{RTCRtpHeaderExtensionCapability/direction}} attribute
for that extension from that other transceiver.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add an example to illustrate the usefulness of the mechanism

@alvestrand
Copy link
Contributor Author

Are there some existing WPT tests or should we add some?

I'm updating webrtc-extensions/RTCRtpTransceiver-headerExtensionControl with the new behaviors. It was testing the old ones.

@alvestrand alvestrand force-pushed the renegotiate-header-extensions branch from 4f2b661 to 1623cd9 Compare September 23, 2025 14:52
@alvestrand alvestrand merged commit ccc0614 into main Sep 25, 2025
2 checks passed
@alvestrand alvestrand deleted the renegotiate-header-extensions branch September 25, 2025 09:44
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 20, 2025
This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
philwo pushed a commit to philwo/chromium that referenced this pull request Oct 20, 2025
This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532197}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 20, 2025
This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532197}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Oct 20, 2025
This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532197}
maitrungduc1410 pushed a commit to maitrungduc1410/webrtc that referenced this pull request Oct 21, 2025
Spec change: w3c/webrtc-extensions#238

Chromestatus entry for change: https://chromestatus.com/feature/5135528638939136

Bug: webrtc:439514253
Change-Id: I296f2f06dd69b4e30be419b44c926acfd2722e2d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/407821
Commit-Queue: Harald Alvestrand <[email protected]>
Reviewed-by: Guido Urdaneta <[email protected]>
Cr-Commit-Position: refs/heads/main@{#45993}
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Oct 24, 2025
… spec changes, a=testonly

Automatic update from web-platform-tests
Modify headerExtensionControl test after spec changes

This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532197}

--

wpt-commits: 7314290de2f3fae9bc12c8c14a7b936d6b6b6000
wpt-pr: 55544
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this pull request Oct 25, 2025
… spec changes, a=testonly

Automatic update from web-platform-tests
Modify headerExtensionControl test after spec changes

This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532197}

--

wpt-commits: 7314290de2f3fae9bc12c8c14a7b936d6b6b6000
wpt-pr: 55544
mertcanaltin pushed a commit to mertcanaltin/wpt that referenced this pull request Oct 26, 2025
This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532197}
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 29, 2025
… spec changes, a=testonly

Automatic update from web-platform-tests
Modify headerExtensionControl test after spec changes

This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <perkjchromium.org>
Commit-Queue: Harald Alvestrand <htachromium.org>
Cr-Commit-Position: refs/heads/main{#1532197}

--

wpt-commits: 7314290de2f3fae9bc12c8c14a7b936d6b6b6000
wpt-pr: 55544

UltraBlame original commit: 0e1d4ce40c612c68d56a09b7d4ea5a93d5a29659
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 29, 2025
… spec changes, a=testonly

Automatic update from web-platform-tests
Modify headerExtensionControl test after spec changes

This covers spec changes made in
w3c/webrtc-extensions#238

Also disable the test until the spec change is implemented.

Bug: webrtc:439514253
Change-Id: Iab09d39c3edd56c8218fc32d4c0bad057be6cfff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7053963
Reviewed-by: Per Kjellander <perkjchromium.org>
Commit-Queue: Harald Alvestrand <htachromium.org>
Cr-Commit-Position: refs/heads/main{#1532197}

--

wpt-commits: 7314290de2f3fae9bc12c8c14a7b936d6b6b6000
wpt-pr: 55544

UltraBlame original commit: 0e1d4ce40c612c68d56a09b7d4ea5a93d5a29659
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RTP header extension control: Modify for re-offers

5 participants