RTCInboundRtpStreamStats: codecId 屬性

可用性有限

此特性不是基線特性,因為它在一些最廣泛使用的瀏覽器中不起作用。

codecId 屬性是 RTCInboundRtpStreamStats 字典中的一個字串,它唯一標識了用於生成 RTCCodecStats 物件中有關 RTP 流的資料的物件。

RTCInboundRtpStreamStatsRTCCodecStats 物件透過迭代 RTCStatsReport 來關聯,以查詢 RTCInboundRtpStreamStats.codecId 等於 RTCCodecStats.id 的統計資訊物件。

一個字串,其中包含用於生成與此 RTP 流關聯的 RTCCodecStats 物件的被檢查物件的 id

規範

規範
WebRTC 統計 API 的識別符號
# dom-rtcrtpstreamstats-codecid

瀏覽器相容性