Package live.hms.video.media.tracks
Class HMSTrack
-
- All Implemented Interfaces:
public abstract class HMSTrackA track represents either the audio or video that a peer is publishing
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtrackIdprivate final HMSTrackTypetypeprivate final Stringdescriptionprivate final BooleanisMuteprivate Stringsource
-
Method Summary
Modifier and Type Method Description final StringgetTrackId()The trackID of this track abstract HMSTrackTypegetType()This specifies the type of track, either one of HMSTrackType final StringgetDescription()A description if any that has been set for this track by the app final BooleanisMute()true - if this track is muted, otherwise false final StringgetSource()Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Plugin - from plugin final UnitsetSource(String source)Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Plugin - from plugin StringtoString()Booleanequals(Object other)-
-
Method Detail
-
getTrackId
final String getTrackId()
The trackID of this track
-
getType
abstract HMSTrackType getType()
This specifies the type of track, either one of HMSTrackType
-
getDescription
final String getDescription()
A description if any that has been set for this track by the app
-
getSource
final String getSource()
Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Plugin - from plugin
-
setSource
final Unit setSource(String source)
Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Plugin - from plugin
-
-
-
-