RTCRtpSender class

The interface provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. With it, you can configure the encoding used for the corresponding track, get information about the device's media capabilities, and so forth. You can also obtain access to an RTCDTMFSender which can be used to send DTMF codes (to simulate the user pressing buttons on a telephone's dial pad) to the remote peer.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

RTCRtpSender()
factory

Properties

dtmf RTCDTMFSender?

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
track MediaStreamTrack?

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

no setter
transform ↔ dynamic

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

getter/setter pair
transport RTCDtlsTransport?

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

no setter

Methods

generateKeyFrame([Iterable<String>? rids]) Future<void>

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

getParameters() RTCRtpSendParameters

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

getStats() Future<RTCStatsReport>

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceTrack(MediaStreamTrack? withTrack) Future<void>

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

setParameters(RTCRtpSendParameters parameters) Future<void>

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

setStreams([MediaStream? streams1, MediaStream? streams2, MediaStream? streams3]) → void

Available on RTCRtpSender, provided by the PropsRTCRtpSender extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getCapabilities(String kind) RTCRtpCapabilities?