RTCTrackEvent:streams 属性
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年1月.
WebRTC API RTCTrackEvent 接口的 streams 只读属性返回 MediaStream 对象的数组,其中的每个元素都是构成添加到 RTCPeerConnection 上的轨道的流对象。
值
MediaStream 对象的数组(Array),其中每个对象都是构成新轨道的一个流。
规范
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-rtctrackevent-streams> |