[webrtc-pc] RTCRtpReceiver.getParameters() clarification

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

== RTCRtpReceiver.getParameters() clarification ==
> encodings is populated based on the RIDs present in the current remote description.

What happens before negotiation? Should this be an empty array?

> The headerExtensions sequence is populated based on the header extensions that the receiver is currently prepared to receive.
The codecs sequence is populated based on the codecs that the receiver is currently prepared to receive.

What is meant by "prepared to receive"?
Does it mean that previous to negotiation those lists are similar to RTCRtpReceiver.getCapabilities()?
What happens if the user calls setCodecPreferences()?

It seems that it should be equivalent to RTCRtpSender.getParameters() and list codecs and headerExtensions that have been negotiated in the call (or an empty list before negotiation).

> rtcp.reducedSize is set to true if the receiver is currently prepared to receive reduced-size RTCP packets, and false otherwise. rtcp.cname is left out.

Why is the rtcp.cname left out? If the client knows the value, why wouldn't we then return it?


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

Received on Wednesday, 14 November 2018 17:46:00 UTC