RTCRtpParameters Dictionary object

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Contains the RTP stack settings.


dictionary RTCRtpParameters {
             DOMString                                 muxId = "";
             sequence<RTCRtpCodecParameters>           codecs;
             sequence<RTCRtpHeaderExtensionParameters> headerExtensions;
             sequence<RTCRtpEncodingParameters>        encodings;
             RTCRtcpParameters                         rtcp;
             RTCDegradationPreference                  degradationPreference;

Standards information


Membery Type Description
codecs sequence<RTCRtpCodecParameters> The codecs to send or receive (could include RED [RFC2198], RTX [RFC4588] and CN [RFC3389]).
degradationPreference RTCDegradationPreference Used to indicate the desired choice between degrading resolution and degrading framerate when bandwidth is constrained. Possible values: 'maintain-framerate', 'maintain-resolution', 'balanced'.
encodings sequence<RTCRtpEncodingParameters> The "encodings" or "layers" to be used for simulcast and Scalable Video Coding, both unsupported.
headerExtensions sequence<RTCRtpHeaderExtensionParameters> Configured header extensions.
muxId DOMString, defaults to "" The muxId assigned to the RTP stream, if any, empty string if unset. In an RTCRtpReceiver or RTCRtpSender object, this corresponds to MID RTP header extension defined in [BUNDLE]. This is a stable identifier that permits the track corresponding to an RTP stream to be identified, rather than relying on an SSRC. An SSRC is randomly generated and can change arbitrarily due to conflicts with other SSRCs, whereas the muxId has a value whose meaning can be defined in advance between RTP sender and receiver, assisting in RTP demultiplexing. Note that including muxId in RTCRtpParameters rather than in RTCRtpEncodingParameters implies that if it is desired to send simulcast streams with different muxId values for each stream, then multiple RTCRtpSender objects are needed.
rtcp RTCRtcpParameters Parameters to configure RTCP.


See also