- From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
- Date: Thu, 19 Jan 2023 12:03:56 +0000
- To: public-webrtc-logs@w3.org
minutes: https://lists.w3.org/Archives/Public/public-webrtc/2023Jan/0056.html
We're going with get-modify-set, i.e. this approach from above:
```
const headers = transceiver.getHeaderExtensionsToOffer(); // #137
for (const header of headers) {
if (header.uri == "urn:ietf:params:rtp-hdrext:origin-timestamp") {
header.direction = "sendrecv";
}
if (header.uri == "urn:ietf:params:rtp-hdrext:new-fancy-reporting") {
header.direction = "send";
}
}
transceiver.setOfferedRtpHeaderExtensions(headers);
```
(naming might still change)
--
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/130#issuecomment-1396868403 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 19 January 2023 12:03:58 UTC