[webrtc-pc] Should RTCRtpTransceiver.setCodecPreferences() only refer to RTCRtpReceiver.getCapabilities(kind)?

Orphis has just created a new issue for https://github.com/w3c/webrtc-pc:

== Should RTCRtpTransceiver.setCodecPreferences() only refer to RTCRtpReceiver.getCapabilities(kind)?  ==
According to JSEP http://rtcweb-wg.github.io/jsep/#rfc.section.4.2.6 `setCodecPreferences` affects which codecs the implementation indicates that it prefers to receive.

So I am wondering, why we are referring to `RTCRtpSender.getCapabilities(kind)` and not just`RTCRtpReceiver.getCapabilities(kind)` in the function description?
See https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-setcodecpreferences

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1998 using your GitHub account

Received on Monday, 1 October 2018 21:21:48 UTC