Interface ParticipantDeviceListener

All Known Implementing Classes:
ParticipantDeviceListenerStub

public interface ParticipantDeviceListener
An object to handle the callbacks for the handling a ParticipantDevice
objects.

Use Factory#createParticipantDeviceCbs to create an instance. Then pass
the object to a ParticipantDevice instance through ParticipantDevice.addListener(org.linphone.core.ParticipantDeviceListener)
.
  • Method Details

    • onIsSpeakingChanged

      void onIsSpeakingChanged(@NonNull ParticipantDevice participantDevice, boolean isSpeaking)
      Callback used to notify that is this participant device speaking has changed.

      Parameters:
      participantDevice - ParticipantDevice object
      isSpeaking - is this participant device speaking
    • onIsMuted

      void onIsMuted(@NonNull ParticipantDevice participantDevice, boolean isMuted)
      Callback used to notify that this participant device is muted or is no longer
      muted.

      Parameters:
      participantDevice - ParticipantDevice object
      isMuted - is this participant device muted
    • onStateChanged

      void onStateChanged(@NonNull ParticipantDevice participantDevice, ParticipantDevice.State state)
      Callback used to notify that participant device changed state.

      Parameters:
      participantDevice - LinphoneParticipantDevice object
    • onStreamCapabilityChanged

      void onStreamCapabilityChanged(@NonNull ParticipantDevice participantDevice, MediaDirection direction, StreamType streamType)
      Callback used to notify that participant device stream capability has changed.

      Parameters:
      participantDevice - ParticipantDevice object
      direction - participant device's audio direction
    • onStreamAvailabilityChanged

      void onStreamAvailabilityChanged(@NonNull ParticipantDevice participantDevice, boolean available, StreamType streamType)
      Callback used to notify that participant device stream availability has
      changed.

      Parameters:
      participantDevice - ParticipantDevice object
    • onVideoDisplayErrorOccurred

      void onVideoDisplayErrorOccurred(@NonNull ParticipantDevice participantDevice, int errorCode)
      Callback to notify that there are errors from the video rendering of the
      participant device.

      Check LinphoneCallCbsVideoDisplayErrorOccurredCb for more details.
      Parameters:
      participantDevice - LinphoneParticipantDevice object
      errorCode - the error code coming from the display render.