Liking cljdoc? Tell your friends :D

web.rtc.RTCRtpEncodingParameters

An instance of the WebRTC API's RTCRtpEncodingParameters dictionary a single configuration of a codec for an web.audio.RTCRtpSender.

An instance of the WebRTC API's RTCRtpEncodingParameters dictionary
a single configuration of a codec for an `web.audio.RTCRtpSender`.
raw docstring

activecljs

(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.
sourceraw docstring

codec-payload-typecljs

(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.
sourceraw docstring

dtxcljs

(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.
sourceraw docstring

max-bitratecljs

(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`
sourceraw docstring

max-frameratecljs

(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.
sourceraw docstring

ptimecljs

(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.
sourceraw docstring

ridcljs

(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.
sourceraw docstring

scale-resolution-down-bycljs

(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`
sourceraw docstring

set-active!cljs

(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.
sourceraw docstring

set-codec-payload-type!cljs

(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.
sourceraw docstring

set-dtx!cljs

(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.
sourceraw docstring

set-max-bitrate!cljs

(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`
sourceraw docstring

set-max-framerate!cljs

(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.
sourceraw docstring

set-ptime!cljs

(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.
sourceraw docstring

set-rid!cljs

(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.
sourceraw docstring

set-scale-resolution-down-by!cljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close