Search completed in 1.21 seconds.
2 results for "degradationpreference":
RTCRtpSendParameters - Web APIs
Web › API › 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 lo...
RTCRtpSender.setParameters() - Web APIs
Web › API › RTCRtpSender › setParameters
s well as the encoding configuration for a specific media track on the WebRTC connection. Syntax var promise = rtcRtpSender.setParameters(parameters) Parameters parameters An object conforming with the RTCRtpSendParameters dictionary, specifying options for the RTCRtpSender; these include potential codecs that could be use for encoding the sender's track. The available options are: 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. prior...