Package live.hms.video.media.tracks
Class HMSRemoteAudioTrack
-
- All Implemented Interfaces:
-
live.hms.video.media.tracks.HMSRemoteTrack
public final class HMSRemoteAudioTrack extends HMSAudioTrack implements HMSRemoteTrack
This specifies the audio track of a remote HMSPeer
-
-
Method Summary
Modifier and Type Method Description BooleanisPlaybackAllowed()UnitsetPlaybackAllowed(Boolean isPlaybackAllowed)LonggetSsrc()UnitsetSsrc(Long ssrc)final DoublegetVolume()final UnitsetVolume(@FloatRange(from = 0.0, to = 10.0, fromInclusive = true, toInclusive = true) Double value)Sets the volume of this HMSRemoteAudioTrack on the underlying MediaSource. StringtoString()-
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
-
isPlaybackAllowed
Boolean isPlaybackAllowed()
-
setPlaybackAllowed
Unit setPlaybackAllowed(Boolean isPlaybackAllowed)
-
setVolume
final Unit setVolume(@FloatRange(from = 0.0, to = 10.0, fromInclusive = true, toInclusive = true) Double value)
Sets the volume of this HMSRemoteAudioTrack on the underlying MediaSource. Volume is a gain value in the range 0 to 10.
- Parameters:
value- new volume of the track, 0.
-
-
-
-