public class RemoteAudioTrackPublication extends Object implements AudioTrackPublication
RemoteAudioTrack
that has been shared to a
Room
.Modifier and Type | Method and Description |
---|---|
AudioTrack |
getAudioTrack()
Returns the base audio track object of the published remote audio track.
|
RemoteAudioTrack |
getRemoteAudioTrack()
Returns the published remote audio track.
|
String |
getTrackName()
Returns the name of the published audio track.
|
String |
getTrackSid()
Returns the remote audio track's server identifier.
|
boolean |
isTrackEnabled()
Check if remote audio track is enabled.
|
boolean |
isTrackSubscribed()
Check if the remote audio track is subscribed to by the
LocalParticipant . |
public String getTrackSid()
Room
.getTrackSid
in interface TrackPublication
public AudioTrack getAudioTrack()
null
is
returned if the track is not subscribed to.getAudioTrack
in interface AudioTrackPublication
public String getTrackName()
getTrackName
in interface TrackPublication
public boolean isTrackEnabled()
isTrackEnabled
in interface TrackPublication
public boolean isTrackSubscribed()
LocalParticipant
.public RemoteAudioTrack getRemoteAudioTrack()
null
is returned if the track is not
subscribed to.3.2.2