LocalTrackPublication<T extends LocalTrack> class
A TrackPublication which belongs to the LocalParticipant.
- Inheritance
-
- Object
- TrackPublication<
T> - LocalTrackPublication
Constructors
- LocalTrackPublication({required LocalParticipant participant, required TrackInfo info, required T track})
Properties
- backupVideoCodec ↔ BackupVideoCodec?
-
read / write
- dimensions → VideoDimensions?
-
The video dimensions of the Track, reported by publisher.
Only available for VideoTracks. (readonly)
read-onlyinherited
- disposeFuncCount → int
-
read-onlyinherited
- encryptionType → EncryptionType
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isDisposed → bool
-
read-onlyinherited
-
True when the track is published with source TrackSource.screenShareVideo.
read-onlyinherited
- kind → TrackType
-
finalinherited
- latestInfo ↔ TrackInfo?
-
read / writeinherited
- mimeType → String
-
The MIME type of the Track (readonly)
read-onlyinherited
- muted → bool
-
read-onlyinherited
- name → String
-
finalinherited
- participant → LocalParticipant
-
The LocalParticipant this instance belongs to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sid → String
-
finalinherited
- simulcasted → bool
-
If the Track is published with simulcast, only for video. (readonly)
read-onlyinherited
- source → TrackSource
-
finalinherited
- subscribed → bool
-
read-onlyinherited
- track → T?
-
The current Track for this publication (readonly).
read-onlyinherited
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
-
updateTrack(
T? newValue) → Future< bool> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited