Class: RemoteAudioTrackPublication

RemoteAudioTrackPublication

A RemoteAudioTrackPublication represents a RemoteAudioTrack that has been published to a Room.

Events


subscribed

Your LocalParticipant subscribed to the RemoteAudioTrack.

Parameters:
Name Type Description
track RemoteAudioTrack

the RemoteAudioTrack that was subscribed to


subscriptionFailed

Your LocalParticipant failed to subscribe to the RemoteAudioTrack.

Parameters:
Name Type Description
error TwilioError

the reason the RemoteAudioTrack could not be subscribed to


trackDisabled

The RemoteAudioTrack was disabled.


trackEnabled

The RemoteAudioTrack was enabled.


unsubscribed

Your LocalParticipant unsubscribed from the RemoteAudioTrack.

Parameters:
Name Type Description
track RemoteAudioTrack

the RemoteAudioTrack that was unsubscribed from