public static interface Participant.Listener
Participant
events.Modifier and Type | Method and Description |
---|---|
void |
onAudioTrackAdded(Participant participant,
AudioTrack audioTrack)
|
void |
onAudioTrackDisabled(Participant participant,
AudioTrack audioTrack)
This method notifies the listener that a
Participant audio track
has been disabled. |
void |
onAudioTrackEnabled(Participant participant,
AudioTrack audioTrack)
This method notifies the listener that a
Participant audio track
has been enabled. |
void |
onAudioTrackRemoved(Participant participant,
AudioTrack audioTrack)
|
void |
onVideoTrackAdded(Participant participant,
VideoTrack videoTrack)
|
void |
onVideoTrackDisabled(Participant participant,
VideoTrack videoTrack)
This method notifies the listener that a
Participant video track
has been disabled. |
void |
onVideoTrackEnabled(Participant participant,
VideoTrack videoTrack)
This method notifies the listener that a
Participant video track
has been enabled. |
void |
onVideoTrackRemoved(Participant participant,
VideoTrack videoTrack)
|
void onAudioTrackAdded(Participant participant, AudioTrack audioTrack)
participant
- The participant object associated with this audio track.audioTrack
- The audio track added to this room.void onAudioTrackRemoved(Participant participant, AudioTrack audioTrack)
participant
- The participant object associated with this audio track.audioTrack
- The audio track removed from this room.void onVideoTrackAdded(Participant participant, VideoTrack videoTrack)
participant
- The participant object associated with this video track.videoTrack
- The video track added to this room.void onVideoTrackRemoved(Participant participant, VideoTrack videoTrack)
Participant
has removed
an VideoTrack
from this Room
. All VideoRenderer
s of the
video track have been removed before receiving this callback to prevent native
memory leaks.participant
- The participant object associated with this video track.videoTrack
- The video track removed from this room.void onAudioTrackEnabled(Participant participant, AudioTrack audioTrack)
Participant
audio track
has been enabled.participant
- The participant object associated with this audio track.audioTrack
- The audio track enabled in this room.void onAudioTrackDisabled(Participant participant, AudioTrack audioTrack)
Participant
audio track
has been disabled.participant
- The participant object associated with this audio track.audioTrack
- The audio track disabled in this room.void onVideoTrackEnabled(Participant participant, VideoTrack videoTrack)
Participant
video track
has been enabled.participant
- The participant object associated with this audio track.videoTrack
- The video track enabled in this room.void onVideoTrackDisabled(Participant participant, VideoTrack videoTrack)
Participant
video track
has been disabled.participant
- The participant object associated with this audio track.videoTrack
- The video track disabled in this room.