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

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