HMSVideoTrack class
100ms HMSVideoTrack
HMSVideoTrack contains information about video track of peer.
- Inheritance
- Implementers
Constructors
- HMSVideoTrack({bool isDegraded = false, required HMSTrackKind kind, required String source, required String trackId, required String trackDescription, required bool isMute})
- HMSVideoTrack.fromMap({required Map map, required bool isLocal})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDegraded → bool
-
final
- isMute → bool
-
finalinherited
- kind → HMSTrackKind
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
finalinherited
- trackDescription → String
-
finalinherited
- trackId → String
-
finalinherited
Methods
-
captureSnapshot(
) → Future< Uint8List?> - captureSnapshot function used to capture a snapshot of the video stream of a local or remote peer's video.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited