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

backupVideoCodec ↔ BackupVideoCodec?
getter/setter pair
dimensions → VideoDimensions?
The video dimensions of the Track, reported by publisher. Only available for VideoTracks. (readonly)
no setterinherited
disposeFuncCount → int
no setterinherited
encryptionType → EncryptionType
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 source TrackSource.screenShareVideo.
no setterinherited
kind → TrackType
finalinherited
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({bool stopOnMute = true}) → 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({bool stopOnMute = true}) → Future<void>
Unmute the track associated with this publication

Operators

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