The WebRTC API's RTCRtpSendParameters
dictionary is used to specify the parameters for an RTCRtpSender
when calling its setParameters()
method.
Properties
In addition to the properties below, RTCRtpSendParameters
inherits the properties from the RTCRtpParameters
interface.
- 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 togetParameters()
. Once this parameter is initially set, it cannot be changed.
Obsolete properties
degradationPreference
'- 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 isbalanced
. priority
'- A string from the
RTCPriorityType
enumerated type which indicates the encoding's priority. The default value islow
.
Specifications
Specification | Status | Comment |
WebRTC 1.0: Real-time Communication Between BrowsersThe definition of 'RTCRtpSendParameters' in that specification. | Candidate Recommendation | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCRtpSendParameters
|
Chrome
Full support 69 |
Edge
Full support ≤79 |
Firefox No support No No support No Notes' Firefox expects an |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 69 |
Chrome Android
Full support 69 |
Firefox Android No support No No support No Notes' Firefox expects an |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 10.0 |
degradationPreference
|
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
No support No |
encodings
|
Chrome
Full support 69 |
Edge
Full support ≤79 |
Firefox No support No No support No Notes' Firefox uses |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 69 |
Chrome Android
Full support 69 |
Firefox Android No support No No support No Notes' Firefox uses |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 10.0 |
priority
|
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
No support No |
transactionId
|
Chrome
Full support 69 |
Edge
Full support ≤79 |
Firefox
No support No |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 69 |
Chrome Android
Full support 69 |
Firefox Android
No support No |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 10.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.'
- See implementation notes.
See also
RTCRtpSendParameters by Mozilla Contributors is licensed under CC-BY-SA 2.5.