RtpSender
package js.html.rtc
Available on js
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.
Methods
getParameters():RtpParameters
getStats():Promise<StatsReport>
replaceTrack(withTrack:MediaStreamTrack):Promise<Void>
setParameters(?parameters:Null<RtpParameters>):Promise<Void>
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/RtpSender.html