RTCRemoteOutboundRtpStreamStats: codecId 屬性

Baseline 已廣泛支援

此特性已經十分成熟,可在許多裝置和瀏覽器版本上使用。自 2022 年 3 月起,它已在各瀏覽器中可用。

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

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

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

規範

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

瀏覽器相容性