5.2.1 RTCRtpParameters
字典
dictionary RTCRtpParameters {
required sequence<RTCRtpHeaderExtensionParameters> headerExtensions;
required RTCRtcpParameters rtcp;
required sequence<RTCRtpCodecParameters> codecs;
};
字典RTCRtpParameters
成员
序列
包含RTP标头扩展参数的序列。只读参数。
RTCRtcpParameters
类型的rtcp
:
用于RTCP的参数。只读参数。
序列<RTCRtpCodeParameters>
类型的codecs
:
包含RTCRtpSender
将选择的媒体编码器序列,以及RTX,RED和FEC机制的条目。对应于通过RTX进行重新传输的每个媒体编解码器,在codecs[]
中将有一个条目,其中mimeType
属性表示通过”audio/rtx”或”video/rtx”重新传输,以及sdpFmtpLine
属性(提供”apt”和”rtx-time”参数)。只读参数。