接口 StatType

统计数据部分类型。这些参数由 WebRTC 规范定义。

签名

declare interface StatTypes

媒体资源签名

名称 说明
candidate_pair 与 RTCIceTransport 相关的 ICE 候选对统计信息。
codec 编解码器统计信息,即 RTCPeerConnection 接收的 RTP 流当前使用的编解码器统计信息。
inbound_rtp RTCPeerConnection 当前接收的入站流的 RTP 统计信息。
local_candidate 与 RTCPeerConnection 相关的本地候选对象的 ICE 候选对象统计信息。
media_playout 与 RTCPeerConnection 相关的媒体播放统计信息。
remote_candidate 与 RTCPeerConnection 相关的远程候选对象的 ICE 候选对象统计信息。
transport 与 RTCPeerConnection 相关的传输统计信息。