Track class

Convenience wrapper around a MediaTrack.

Constructors

Track(MediaTrack track)

Properties

direction Rx<TrackMediaDirection>
TrackMediaDirection this Track has.
final
hashCode int
The hash code for this object.
no setterinherited
isMuted RxBool
Indicator whether this Track is muted.
latefinal
kind MediaKind
MediaKind of this Track.
final
renderer Rx<RtcRenderer?>
RtcRenderer of this Track, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source MediaSourceKind
MediaSourceKind of this Track.
final
track MediaTrack
MediaTrack itself.
final

Methods

createRenderer() Future<void>
Creates the renderer for this Track.
dispose() Future<void>
Disposes this Track.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRenderer() Future<void>
Disposes the renderer of this Track.
stop() Future<void>
Stops the webrtc.MediaStreamTrack of this Track.
toString() String
A string representation of this object.
inherited

Operators

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