RTCRtpSendParameters

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.

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.
encodings
An array of RTCRtpEncodingParameters objects, each specifying the parameters for a single codec that could be used to encode the track's media.
priority
A string from the RTCPriorityType enumerated type which indicates the encoding's priority. The default value is low.
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().

Specifications

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

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
RTCRtpSendParametersChrome Full support 69Edge Full support ≤79Firefox No support No
Notes
No support No
Notes
Notes Firefox expects an RTCRtpParameters object instead.
IE No support NoOpera ? Safari ? WebView Android Full support 69Chrome Android Full support 69Firefox 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
degradationPreferenceChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android No support No
encodingsChrome Full support 69Edge Full support ≤79Firefox No support No
Notes
No support No
Notes
Notes Firefox uses RTCRtpParameters.encodings instead.
IE No support NoOpera ? Safari ? WebView Android Full support 69Chrome Android Full support 69Firefox 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
priorityChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android No support No
transactionIdChrome Full support 69Edge Full support ≤79Firefox No support NoIE No support NoOpera ? Safari ? WebView Android Full support 69Chrome Android Full support 69Firefox Android No support NoOpera 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