public class RemoteAudioTrack extends AudioTrack
audioSinks
Modifier and Type | Method and Description |
---|---|
void |
enablePlayback(boolean enable)
Enables playback of remote audio track.
|
java.lang.String |
getSid()
Returns the remote audio track's server identifier.
|
boolean |
isPlaybackEnabled()
Check if playback on the remote audio track is enabled.
|
addSink, getName, isEnabled, removeSink
@NonNull public java.lang.String getSid()
Room
.public void enablePlayback(boolean enable)
enable
- the desired playback state of the remote audio track.public boolean isPlaybackEnabled()
When the value is false, the remote audio track is muted. When the value is true the remote audio track is playing.
6.4.1