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})

Properties

dimensions VideoDimensions?
The video dimensions of the Track, reported by publisher. Only available for VideoTracks. (readonly)
read-only
disposeFuncCount int
read-onlyinherited
encryptionType EncryptionType
read-only
hashCode int
The hash code for this object.
read-onlyoverride
isDisposed bool
read-onlyinherited
isScreenShare bool
True when the track is published with source TrackSource.screenShareVideo.
read-only
kind TrackType
final
latestInfo ↔ TrackInfo?
read / write
mimeType String
The MIME type of the Track (readonly)
read-only
muted bool
read-only
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.
read-onlyinherited
sid String
final
simulcasted bool
If the Track is published with simulcast, only for video. (readonly)
read-only
source TrackSource
final
subscribed bool
read-only
track → T?
The current Track for this publication (readonly).
read-only

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
updateFromInfo(TrackInfo info) → void
updateTrack(T? newValue) Future<bool>

Operators

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