RTCStats
dictionary's property
type
is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type
RTCStatsType
.
The string can be used to determine which of the
RTCStats
-based dictionaries are the foundation of the statistics object.
var type = RTCStats.type;
A
DOMString
which specifies which type of statistic is represented by the object. The string comes from the
RTCStatsType
enum and corrsponds to one of the
RTCStats
-based statistic object types.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCStats.type' in that specification. |
候选推荐 | 初始定义。 |
No compatibility data found. Please contribute data for "api.RTCStats.type" (depth: 1) to the MDN 兼容性数据存储库 .
RTCStats
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent