Re: [webrtc-pc] Using codecPayloadType with addTransceiver()

If payload types are predictable before negotiation I think your approach may be correct. Otherwise what I want:

- getCapabilities() should describe codecs (and codec settings) we support in a way that is agnostic towards payload type.
- addTransceiver()/setParameters() should be able to modify the sender's preferred codec with information obtained from getCapabilities().
- getParameters() may still return the codec payload types, but these should not be used for setting because that would only work after negotiation.

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

Received on Saturday, 20 October 2018 09:02:34 UTC