LocalTrackPublication<T extends LocalTrack> class

A TrackPublication which belongs to the LocalParticipant.

Inheritance

Constructors

LocalTrackPublication({required LocalParticipant participant, required TrackInfo info, required T track})

Properties

dimensions → VideoDimensions?
The video dimensions of the Track, reported by publisher. Only available for VideoTracks. (readonly)
no setterinherited
disposeFuncCount int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
no setterinherited
isScreenShare bool
True when the track is published with name Track.screenShareName.
no setterinherited
kind TrackType
finalinherited
latestInfo ↔ TrackInfo?
getter/setter pairinherited
mimeType String
The MIME type of the Track (readonly)
no setterinherited
muted bool
no setterinherited
name String
finalinherited
participant LocalParticipant
The LocalParticipant this instance belongs to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sid String
finalinherited
simulcasted bool
If the Track is published with simulcast, only for video. (readonly)
no setterinherited
source TrackSource
finalinherited
subscribed bool
no setterinherited
track → T?
The current Track for this publication (readonly).
no setterinherited

Methods

dispose() Future<bool>
inherited
mute() Future<void>
Mute the track associated with this publication
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(OnDisposeFunc func) → void
inherited
toPBTrackPublishedResponse() → TrackPublishedResponse
toString() String
A string representation of this object.
inherited
unmute() Future<void>
Unmute the track associated with this publication
updateFromInfo(TrackInfo info) → void
inherited
updatePublishingLayers(List<SubscribedQuality> layers) → void
updateTrack(T? newValue) Future<bool>
inherited

Operators

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