Package live.hms.video.media.tracks
Class HMSLocalAudioTrack
-
- All Implemented Interfaces:
-
live.hms.video.media.tracks.HMSLocalTrack
public final class HMSLocalAudioTrack extends HMSAudioTrack implements HMSLocalTrack
The local audio track of the local peer
-
-
Field Summary
Fields Modifier and Type Field Description private final HMSAudioTrackSettingssettingsprivate Doublevolumeprivate final HMSTrackTypetypeprivate final StringtrackIdprivate final Stringdescriptionprivate final BooleanisMuteprivate Stringsource
-
Method Summary
Modifier and Type Method Description final HMSAudioTrackSettingsgetSettings()final DoublegetVolume()final UnitsetVolume(Double volume)final UnitsetSettings(HMSAudioTrackSettings newSettings)UnitsetDescription(String value)Set a description to this track if needed UnitsetMute(Boolean value)Method to mute this track StringtoString()final UnitsetIsDispose()-
Methods inherited from class live.hms.video.media.tracks.HMSAudioTrack
getType -
Methods inherited from class live.hms.video.media.tracks.HMSTrack
equals, getDescription, getSource, getTrackId, isMute, setSource -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSettings
final HMSAudioTrackSettings getSettings()
-
setSettings
final Unit setSettings(HMSAudioTrackSettings newSettings)
-
setDescription
Unit setDescription(String value)
Set a description to this track if needed
- Parameters:
value- the description that needs to be set to this track
-
setMute
Unit setMute(Boolean value)
Method to mute this track
- Parameters:
value- true to set this track to mute, false otherwise
-
setIsDispose
final Unit setIsDispose()
-
-
-
-