Web/API/RTCRtpSendParameters

From Get docs


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.


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.

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 is balanced.
priority '
A string from the RTCPriorityType enumerated type which indicates the encoding's priority. The default value is low.


Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between BrowsersThe definition of 'RTCRtpSendParameters' in that specification. Candidate Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
RTCRtpSendParameters Chrome

Full support 69

Edge

Full support ≤79

Firefox No support No

Notes'

No support No

Notes'

Notes' Firefox expects an RTCRtpParameters object instead.

IE

No support No

Opera

?

Safari

?

WebView Android

Full support 69

Chrome Android

Full support 69

Firefox Android No support No

Notes'

No support No

Notes'

Notes' Firefox expects an RTCRtpParameters object instead.

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

Notes'

No support No

Notes'

Notes' Firefox uses RTCRtpParameters.encodings instead.

IE

No support No

Opera

?

Safari

?

WebView Android

Full support 69

Chrome Android

Full support 69

Firefox Android No support No

Notes'

No support No

Notes'

Notes' Firefox uses RTCRtpParameters.encodings instead.

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