W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2022

Re: [webrtc-extensions] Allow having inactive by default codecs (#100)

From: Sergio Garcia Murillo via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Mar 2022 15:50:22 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1071000129-1647532061-sysbot+gh@w3.org>
how about adding an extension to the transceivers similar to the one for the rtp header extensions?

```
partial interface RTCRtpTransceiver {
  undefined setOfferedCodecs(sequence<RTCRtpCodecCapability> codecsToOffer);
  readonly attribute FrozenArray<RTCRtpCodecCapability> codecsToOffer;
  readonly attribute FrozenArray<RTCRtpCodecCapability> codecsNegotiated;
};
```

we would need to add also a property `offeredByDefault` to the `RTCRtpCodecCapability` to signal if the codec is included in an initial offer by default or not. 

-- 
GitHub Notification of comment by murillo128
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/100#issuecomment-1071000129 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 17 March 2022 15:50:23 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:56 UTC