/lib/live.hms.video.media.tracks/HMSRemoteVideoTrack

HMSRemoteVideoTrack

[androidJvm]\ class HMSRemoteVideoTrack : HMSVideoTrack, HMSRemoteTrack

This contains the video track of the HMSRemotePeer

Functions

NameSummary
addSink[androidJvm]
open override fun addSink(sink: VideoSink)
Takes in a view on which the video needs to be rendered
equals[androidJvm]
open operator override fun equals(other: Any?): Boolean
removeSink[androidJvm]
open override fun removeSink(sink: VideoSink)
Takes in a view that needs to be removed from rendering
toString[androidJvm]
open override fun toString(): String

Properties

NameSummary
description[androidJvm]
var description: String
A description if any that has been set for this track by the app
isDegraded[androidJvm]
open override var isDegraded: Boolean = false
Is true if this track has been degraded due to auto degradation by the SDK
isMute[androidJvm]
var isMute: Boolean = false
true - if this track is muted, otherwise false
isPlaybackAllowed[androidJvm]
open override var isPlaybackAllowed: Boolean
Method to set if playback is needed of this remote track or not
source[androidJvm]
var source: String
Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Publign - from plugin
trackId[androidJvm]
val trackId: String
The trackID of this track
type[androidJvm]
open override val type: HMSTrackType
This specifies the type of track, either one of HMSTrackType