The RTCRtpSender
interface provides the ability to control and obtain details about how a particular MediaStreamTrack
is encoded and sent to a remote peer.
Documentation RTCRtpSender by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
read onlydtmf:DTMFSender
An RTCDTMFSender
which can be used to send DTMF
tones using "telephone-event"
payloads on the RTP session represented by the RTCRtpSender
object. If null
, the track and/or the connection doesn't support DTMF. Only audio tracks can support DTMF.
read onlytrack:MediaStreamTrack
The MediaStreamTrack
which is being handled by the RTCRtpSender
. If track
is null
, the RTCRtpSender
doesn't transmit anything.