MDN self-hosted library · e01.org

RTCRtpSender: track property

WebRTC

no runnable cells web-api-instance-property upstream source

WebRTC

The track read-only property of the RTCRtpSender interface returns the MediaStreamTrack which is being handled by the RTCRtpSender.

Value

A MediaStreamTrack object representing the media associated with the RTCRtpSender. If no track is associated with the sender, this value is null, in which case the sender transmits nothing.

Specifications

Browser compatibility