Re: [webrtc-pc] What is setCodecPreferences's contract? (#2845)

> but would like to hear from @youennf since I believe the WPT with hardcoded codec came from Safari?

@jan-ivar , if you are talking about [WPT](https://github.com/web-platform-tests/wpt/blob/52138ad6a21cc6be6d111c1a3258320d548ec832/webrtc-encoded-transform/script-change-transform.https.html#L40), this was hardcoded as a convenience, not as a pattern. We could definitely update this test.

My take on this is that MediaCapabilities should provide a convenient way to get a well formed codec object. See https://github.com/w3c/media-capabilities/issues/185.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2845#issuecomment-1490250496 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 30 March 2023 12:51:37 UTC