An instance of the WebRTC API's RTCRtpEncodingParameters dictionary
a single configuration of a codec for an web.video.RTCRtpSender
.
An instance of the WebRTC API's RTCRtpEncodingParameters dictionary a single configuration of a codec for an `web.video.RTCRtpSender`.
(active this)
Property.
If true, the described encoding is currently actively being used. is, for RTP senders, the encoding is currently being used to data, while for receivers, the encoding is being used to decode data. The default value is true.
Property. If true, the described encoding is currently actively being used. is, for RTP senders, the encoding is currently being used to data, while for receivers, the encoding is being used to decode data. The default value is true.
(codec-payload-type this)
Property.
When describing a codec for an RTCRtpSender, codecPayloadType a single 8-bit byte (or octet) specifying the codec to use for the stream; the value matches one from the owning RTCRtpParameters codecs parameter. This value can only be set when creating the after that, this value is read only.
Property. When describing a codec for an RTCRtpSender, codecPayloadType a single 8-bit byte (or octet) specifying the codec to use for the stream; the value matches one from the owning RTCRtpParameters codecs parameter. This value can only be set when creating the after that, this value is read only.
(dtx this)
Property.
Only used for an RTCRtpSender whose kind is audio, this property whether or not to use discontinuous transmission (a feature by a phone is turned off or the microphone muted automatically in absence of voice activity). The value is taken from the enumerated type RTCDtxStatus.
Property. Only used for an RTCRtpSender whose kind is audio, this property whether or not to use discontinuous transmission (a feature by a phone is turned off or the microphone muted automatically in absence of voice activity). The value is taken from the enumerated type RTCDtxStatus.
(max-bitrate this)
Property.
The web.rtc.RTCRtpEncodingParameters
dictionary's maxBitrate
specifies the maximum number of bits per second to allow a track
with this encoding to use.
`rtpEncodingParameters.maxBitrate = maxBitsPerSecond;
rtpEncodingParameters = { maxBitrate: maxBitsPerSecond };
maxBitsPerSecond = rtpEncodingParameters.maxBitrate;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/maxBitrate
Property. The `web.rtc.RTCRtpEncodingParameters` dictionary's maxBitrate specifies the maximum number of bits per second to allow a track with this encoding to use. `rtpEncodingParameters.maxBitrate = maxBitsPerSecond; rtpEncodingParameters = { maxBitrate: maxBitsPerSecond }; maxBitsPerSecond = rtpEncodingParameters.maxBitrate;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/maxBitrate`
(max-framerate this)
Property.
A double-precision floating-point value specifying the maximum of frames per second to allow for this encoding.
Property. A double-precision floating-point value specifying the maximum of frames per second to allow for this encoding.
(ptime this)
Property.
An unsigned long integer value indicating the preferred duration a media packet in milliseconds. This is typically only relevant audio encodings. The user agent will try to match this as well it can, but there is no guarantee.
Property. An unsigned long integer value indicating the preferred duration a media packet in milliseconds. This is typically only relevant audio encodings. The user agent will try to match this as well it can, but there is no guarantee.
(rid this)
Property.
A DOMString which, if set, specifies an RTP stream ID (RID) to sent using the RID header extension. This parameter cannot be using setParameters(). Its value can only be set when the transceiver first created.
Property. A DOMString which, if set, specifies an RTP stream ID (RID) to sent using the RID header extension. This parameter cannot be using setParameters(). Its value can only be set when the transceiver first created.
(scale-resolution-down-by this)
Property.
The web.rtc.RTCRtpEncodingParameters
dictionary's scaleResolutionDownBy
can be used to specify a factor by which to reduce the size of
video track during encoding.
`rtpEncodingParameters.scaleResolutionDownBy = scalingFactor;
rtpEncodingParameters = { scaleResolutionDownBy: scalingFactor };`
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/scaleResolutionDownBy
Property. The `web.rtc.RTCRtpEncodingParameters` dictionary's scaleResolutionDownBy can be used to specify a factor by which to reduce the size of video track during encoding. `rtpEncodingParameters.scaleResolutionDownBy = scalingFactor; rtpEncodingParameters = { scaleResolutionDownBy: scalingFactor };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/scaleResolutionDownBy`
(set-active! this val)
Property.
If true, the described encoding is currently actively being used. is, for RTP senders, the encoding is currently being used to data, while for receivers, the encoding is being used to decode data. The default value is true.
Property. If true, the described encoding is currently actively being used. is, for RTP senders, the encoding is currently being used to data, while for receivers, the encoding is being used to decode data. The default value is true.
(set-codec-payload-type! this val)
Property.
When describing a codec for an RTCRtpSender, codecPayloadType a single 8-bit byte (or octet) specifying the codec to use for the stream; the value matches one from the owning RTCRtpParameters codecs parameter. This value can only be set when creating the after that, this value is read only.
Property. When describing a codec for an RTCRtpSender, codecPayloadType a single 8-bit byte (or octet) specifying the codec to use for the stream; the value matches one from the owning RTCRtpParameters codecs parameter. This value can only be set when creating the after that, this value is read only.
(set-dtx! this val)
Property.
Only used for an RTCRtpSender whose kind is audio, this property whether or not to use discontinuous transmission (a feature by a phone is turned off or the microphone muted automatically in absence of voice activity). The value is taken from the enumerated type RTCDtxStatus.
Property. Only used for an RTCRtpSender whose kind is audio, this property whether or not to use discontinuous transmission (a feature by a phone is turned off or the microphone muted automatically in absence of voice activity). The value is taken from the enumerated type RTCDtxStatus.
(set-max-bitrate! this val)
Property.
The web.rtc.RTCRtpEncodingParameters
dictionary's maxBitrate
specifies the maximum number of bits per second to allow a track
with this encoding to use.
`rtpEncodingParameters.maxBitrate = maxBitsPerSecond;
rtpEncodingParameters = { maxBitrate: maxBitsPerSecond };
maxBitsPerSecond = rtpEncodingParameters.maxBitrate;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/maxBitrate
Property. The `web.rtc.RTCRtpEncodingParameters` dictionary's maxBitrate specifies the maximum number of bits per second to allow a track with this encoding to use. `rtpEncodingParameters.maxBitrate = maxBitsPerSecond; rtpEncodingParameters = { maxBitrate: maxBitsPerSecond }; maxBitsPerSecond = rtpEncodingParameters.maxBitrate;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/maxBitrate`
(set-max-framerate! this val)
Property.
A double-precision floating-point value specifying the maximum of frames per second to allow for this encoding.
Property. A double-precision floating-point value specifying the maximum of frames per second to allow for this encoding.
(set-ptime! this val)
Property.
An unsigned long integer value indicating the preferred duration a media packet in milliseconds. This is typically only relevant audio encodings. The user agent will try to match this as well it can, but there is no guarantee.
Property. An unsigned long integer value indicating the preferred duration a media packet in milliseconds. This is typically only relevant audio encodings. The user agent will try to match this as well it can, but there is no guarantee.
(set-rid! this val)
Property.
A DOMString which, if set, specifies an RTP stream ID (RID) to sent using the RID header extension. This parameter cannot be using setParameters(). Its value can only be set when the transceiver first created.
Property. A DOMString which, if set, specifies an RTP stream ID (RID) to sent using the RID header extension. This parameter cannot be using setParameters(). Its value can only be set when the transceiver first created.
(set-scale-resolution-down-by! this val)
Property.
The web.rtc.RTCRtpEncodingParameters
dictionary's scaleResolutionDownBy
can be used to specify a factor by which to reduce the size of
video track during encoding.
`rtpEncodingParameters.scaleResolutionDownBy = scalingFactor;
rtpEncodingParameters = { scaleResolutionDownBy: scalingFactor };`
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/scaleResolutionDownBy
Property. The `web.rtc.RTCRtpEncodingParameters` dictionary's scaleResolutionDownBy can be used to specify a factor by which to reduce the size of video track during encoding. `rtpEncodingParameters.scaleResolutionDownBy = scalingFactor; rtpEncodingParameters = { scaleResolutionDownBy: scalingFactor };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters/scaleResolutionDownBy`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close