HMSRemoteVideoTrack class

100ms HMSRemotelVideoTrack

HMSRemoteVideoTrack encapsulates the remote peer video track information

Inheritance

Constructors

HMSRemoteVideoTrack({required bool isDegraded, required HMSTrackKind kind, required String source, required String trackId, required String trackDescription, required bool isMute, required bool isPlaybackAllowed})
HMSRemoteVideoTrack.fromMap({required Map map})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDegraded bool
finalinherited
isMute bool
finalinherited
isPlaybackAllowed bool
getter/setter pair
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.
inherited
getLayer() Future<HMSSimulcastLayer>
Invoke the function to get the current Simulcast layer of the Remote Video Track
getLayerDefinition() Future<List<HMSSimulcastLayerDefinition>>
Invoke the function to get the list of available Simulcast Layers for a Remote Video Track
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPlaybackAllowed(bool isPlaybackAllowed) Future<HMSException?>
setSimulcastLayer(HMSSimulcastLayer layer) Future<HMSException?>
Invoke the function with the desired simulcast layer which can be of types - HMSSimulcastLayer.high, HMSSimulcastLayer.low, HMSSimulcastLayer.mid
toString() String
A string representation of this object.
inherited

Operators

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