Re: [webrtc-svc] https://w3c.github.io/webrtc-svc/#rtcrtpcodeccapability* is redundant with https://w3c.github.io/media-capabilities/#dom-videoconfiguration-scalabilitymode (#49)

It's a tradeoff between convenience for the Web page developer vs fingerprinting surface. Nothing new here.

But if we connect these, we need to know that the interface works. In particular, I'm not clear on how one will know that a given codec in WebRTC corresponds 100% to a given configuration in MediaCapabilities. we know that it does correspond because we've set "webrtc" as the usage scenario, but is there a guaranteed way to say "I want webrtc to send with the codec that I just queried the capabilities for"?

ATM the only way I can think of is to call getCapabilities(), iterate through the codecs to find the suitable ones, and for each of them query MediaCapabilities with each acceptable scalability mode. That's complicated.



-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-svc/issues/49#issuecomment-947619385 using your GitHub account


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

Received on Wednesday, 20 October 2021 12:32:21 UTC