此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

RTCRtpSender:track 属性

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2018年1月.

RTCRtpSender 接口的 track 只读属性返回一个由 RTCRtpSender 处理的 MediaStreamTrack

表示与 RTCRtpSender 关联的媒体的 MediaStreamTrack 对象。如果发送方未关联任何轨道,则该值为 null,此时发送方不传输任何内容。

规范

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtcrtpsender-track

浏览器兼容性