TrackPublication<T extends Track> class abstract

Represents a track that's published to the server. This class contains metadata associated with tracks.

Base for RemoteTrackPublication and LocalTrackPublication, can not be instantiated directly.

Implementers

Constructors

TrackPublication({required TrackInfo info, required T? track})

Properties

dimensions → VideoDimensions?
The video dimensions of the Track, reported by publisher. Only available for VideoTracks. (readonly)
no setter
disposeFuncCount → int
no setterinherited
encryptionType → EncryptionType
no setter
hashCode → int
The hash code for this object.
no setteroverride
isDisposed → bool
no setterinherited
isScreenShare → bool
True when the track is published with source TrackSource.screenShareVideo.
no setter
kind → TrackType
final
mimeType → String
The MIME type of the Track (readonly)
no setter
muted → bool
no setter
name → String
final
participant → Participant<TrackPublication<Track>>
The Participant this publication belongs to.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sid → String
final
simulcasted → bool
If the Track is published with simulcast, only for video. (readonly)
no setter
source → TrackSource
final
subscribed → bool
no setter
track → T?
The current Track for this publication (readonly).
no setter

Methods

dispose() → Future<bool>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(OnDisposeFunc func) → void
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override