WebRTC API's
RTCRtpCodecCapability
dictionary provides information describing the capabilities of a single
media codec
.
channels
可选
An unsigned integer value indicating the maximum number of channels supported by the codec; for example, a codec that supports only mono sound would have a value of 1; stereo codecs would have a 2, etc.
clockRate
mimeType
DOMString
indicating the codec's MIME media type and subtype. See
Codecs used by WebRTC
for details about potential codecs that might be referenced here.
sdpFmtpLine
可选
DOMString
giving the format specific parameters field from the
a=fmtp
line in the SDP which corresponds to the codec, if such a line exists. If there is no parameters field, this property is left out.
RTCRtpCodecCapabilities
describes the basic parameters for a single codec supported by the user's device. An array of objects of this type is returned in the
codecs
特性为
RTCRtpCapabilities
object returned in response to a call to either of the static functions
RTCRtpSender.getCapabilities()
or
RTCRtpReceiver.getCapabilities()
.
TBD
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCRtpCodecCapability' in that specification. |
候选推荐 |
No compatibility data found. Please contribute data for "api.RTCRtpCodecCapability" (depth: 1) to the MDN 兼容性数据存储库 .
RTCPeerConnection
RTCSessionDescription
RTCIceCandidate
RTCPeerConnectionIceEvent
RTCPeerConnectionIceErrorEvent
RTCCertificate
RTCRtpSender
RTCRtpReceiver
RTCRtpTransceiver
RTCDtlsTransport
RTCIceTransport
RTCTrackEvent
RTCSctpTransport
RTCDataChannel
RTCDataChannelEvent
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCStatsReport
RTCErrorEvent
RTCDTMFSender
:
tonechange
RTCDataChannel
:
bufferedamountlow
RTCDataChannel
:
close
RTCDataChannel
:
closing
RTCDataChannel
:
error
RTCDataChannel
:
message
RTCDataChannel
:
open
RTCDtlsTransport
:
error
RTCDtlsTransport
:
statechange
RTCIceTransport
:
error
RTCIceTransport
:
gatheringstatechange
RTCIceTransport
:
selectedcandidatepairchange
RTCIceTransport
:
statechange
RTCPeerConnection
:
connectionstatechange
RTCPeerConnection
:
datachannel
RTCPeerConnection
:
icecandidate
RTCPeerConnection
:
icecandidateerror
RTCPeerConnection
:
iceconnectionstatechange
RTCPeerConnection
:
icegatheringstatechange
RTCPeerConnection
:
negotiationneeded
RTCPeerConnection
:
signalingstatechange
RTCPeerConnection
:
track
RTCSctpTransport
:
error