Re: [webrtc-pc] Unimplementable input validation steps in setCodecPreferences (#2805)

> Or we can go the route of defining [RTCRtpCodecCapability](https://w3c.github.io/webrtc-pc/#dom-rtcrtpcodeccapability) as an interface, to make the existing "is not in" work

This seems to go against [ยง 6.7. Classes should have constructors when possible](https://w3ctag.github.io/design-principles/#constructors) which I interpret to favor duck-typing here.

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


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

Received on Tuesday, 6 December 2022 17:15:45 UTC