The WebRTC API's RTCRtpSendParameters
dictionary is used to specify the parameters for an RTCRtpSender
when calling its setParameters()
method.
The WebRTC API's RTCRtpSendParameters
dictionary is used to specify the parameters for an RTCRtpSender
when calling its setParameters()
method.
In addition to the properties below, RTCRtpSendParameters
inherits the properties from the RTCRtpParameters
interface.
encodings
An array of RTCRtpEncodingParameters
objects, each specifying the parameters for a single codec that could be used to encode the track's media.
transactionId
A string containing a unique ID for the last set of parameters applied; this value is used to ensure that setParameters()
can only be called to alter changes made by a specific previous call to getParameters()
. Once this parameter is initially set, it cannot be changed.
degradationPreference
Deprecated
Specifies the preferred way the WebRTC layer should handle optimizing bandwidth against quality in constrained-bandwidth situations; the value comes from the RTCDegradationPreference
enumerated string type, and the default is balanced
.
priority
Deprecated
A string from the RTCPriorityType
enumerated type which indicates the encoding's priority. The default value is low
.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
RTCRtpSendParameters |
69 |
≤79 |
No
Firefox expects an
RTCRtpParameters object instead. |
No |
56 |
12.1 |
69 |
69 |
No
Firefox expects an
RTCRtpParameters object instead. |
48 |
12.2 |
10.0 |
degradationPreference |
No |
No |
No |
No |
No |
12.1 |
No |
No |
No |
No |
12.2 |
No |
encodings |
69 |
≤79 |
No
Firefox uses
RTCRtpParameters.encodings instead. |
No |
56 |
12.1 |
69 |
69 |
No
Firefox uses
RTCRtpParameters.encodings instead. |
48 |
12.2 |
10.0 |
priority |
No |
No |
No |
No |
No |
No |
No |
No |
No |
No |
No |
No |
transactionId |
69 |
≤79 |
No |
No |
56 |
12.1 |
69 |
69 |
No |
48 |
12.2 |
10.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSendParameters