-
Notifications
You must be signed in to change notification settings - Fork 18
Set HeaderExtensionsToNegotiate after negotiation #238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Are there some existing WPT tests or should we add some? |
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}
|
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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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....
|
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. |
There was a problem hiding this comment.
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
I'm updating webrtc-extensions/RTCRtpTransceiver-headerExtensionControl with the new behaviors. It was testing the old ones. |
4f2b661 to
1623cd9
Compare
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
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}
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}
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}
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}
… 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
… 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
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}
… 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
… 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
Fixes #237
Preview | Diff