The web.rtc.RTCRtpCodecParameters
dictionary, part of the WebRTC
is used to describe the configuration parameters for a single
codec.
The `web.rtc.RTCRtpCodecParameters` dictionary, part of the WebRTC is used to describe the configuration parameters for a single codec.
(channels this)
Property.
An unsigned short integer indicating the number of channels the should support. For example, for audio codecs, a value of 1 specifies sound while 2 indicates stereo.
Property. An unsigned short integer indicating the number of channels the should support. For example, for audio codecs, a value of 1 specifies sound while 2 indicates stereo.
(clock-rate this)
Property.
An unsigned long integer value specifying the codec's clock rate hertz (Hz). The clock rate is the rate at which the codec's RTP advances. Most codecs have specific values or ranges of values permit; see the IANA payload format media type registry for details.
Property. An unsigned long integer value specifying the codec's clock rate hertz (Hz). The clock rate is the rate at which the codec's RTP advances. Most codecs have specific values or ranges of values permit; see the IANA payload format media type registry for details.
(mime-type this)
Property.
The codec's MIME media type and subtype specified as a DOMString the form "type/subtype". IANA maintains a registry of valid MIME
Property. The codec's MIME media type and subtype specified as a DOMString the form "type/subtype". IANA maintains a registry of valid MIME
(payload-type this)
Property.
The RTP payload type used to identify this codec.
Property. The RTP payload type used to identify this codec.
(sdp-fmtp-line this)
Property.
A DOMString containing the format-specific parameters field from "a=fmtp" line in the codec's SDP, if one is present; see section of the IETF specification for JSEP. Note: On an RTCRtpReceiver, the format-specific parameters come the SDP sent by the remote peer, while for RTCRtpSender, they're by the local description.
Property. A DOMString containing the format-specific parameters field from "a=fmtp" line in the codec's SDP, if one is present; see section of the IETF specification for JSEP. Note: On an RTCRtpReceiver, the format-specific parameters come the SDP sent by the remote peer, while for RTCRtpSender, they're by the local description.
(set-channels! this val)
Property.
An unsigned short integer indicating the number of channels the should support. For example, for audio codecs, a value of 1 specifies sound while 2 indicates stereo.
Property. An unsigned short integer indicating the number of channels the should support. For example, for audio codecs, a value of 1 specifies sound while 2 indicates stereo.
(set-clock-rate! this val)
Property.
An unsigned long integer value specifying the codec's clock rate hertz (Hz). The clock rate is the rate at which the codec's RTP advances. Most codecs have specific values or ranges of values permit; see the IANA payload format media type registry for details.
Property. An unsigned long integer value specifying the codec's clock rate hertz (Hz). The clock rate is the rate at which the codec's RTP advances. Most codecs have specific values or ranges of values permit; see the IANA payload format media type registry for details.
(set-mime-type! this val)
Property.
The codec's MIME media type and subtype specified as a DOMString the form "type/subtype". IANA maintains a registry of valid MIME
Property. The codec's MIME media type and subtype specified as a DOMString the form "type/subtype". IANA maintains a registry of valid MIME
(set-payload-type! this val)
Property.
The RTP payload type used to identify this codec.
Property. The RTP payload type used to identify this codec.
(set-sdp-fmtp-line! this val)
Property.
A DOMString containing the format-specific parameters field from "a=fmtp" line in the codec's SDP, if one is present; see section of the IETF specification for JSEP. Note: On an RTCRtpReceiver, the format-specific parameters come the SDP sent by the remote peer, while for RTCRtpSender, they're by the local description.
Property. A DOMString containing the format-specific parameters field from "a=fmtp" line in the codec's SDP, if one is present; see section of the IETF specification for JSEP. Note: On an RTCRtpReceiver, the format-specific parameters come the SDP sent by the remote peer, while for RTCRtpSender, they're by the local description.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close