Liblinphone 5.3.0

Public Member Functions | List of all members
linphone::ParticipantDeviceListener Class Reference

An object to handle the callbacks for the handling a ParticipantDevice objects. More...

`#include <participant_device_listener.hh>`

Inheritance diagram for linphone::ParticipantDeviceListener:

## Public Member Functions
virtual LINPHONECXX_PUBLIC void | onIsSpeakingChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, bool isSpeaking)
| Callback used to notify that is this participant device speaking has changed.
virtual LINPHONECXX_PUBLIC void | onIsMuted (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, bool isMuted)
| Callback used to notify that this participant device is muted or is no longer muted.
virtual LINPHONECXX_PUBLIC void | onStateChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, linphone::ParticipantDevice::State state)
| Callback used to notify that participant device changed state.
virtual LINPHONECXX_PUBLIC void | onStreamCapabilityChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, linphone::MediaDirection direction, linphone::StreamType streamType)
| Callback used to notify that participant device stream capability has changed.
virtual LINPHONECXX_PUBLIC void | onStreamAvailabilityChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, bool available, linphone::StreamType streamType)
| Callback used to notify that participant device stream availability has changed.
virtual LINPHONECXX_PUBLIC void | onVideoDisplayErrorOccurred (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, int errorCode)
| Callback to notify that there are errors from the video rendering of the participant device.

## Detailed Description

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().

## Member Function Documentation

## ◆ onIsMuted()

virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onIsMuted | ( | const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice,
|  | bool | isMuted )
| inline virtual

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

## ◆ onIsSpeakingChanged()

virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onIsSpeakingChanged | ( | const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice,
|  | bool | isSpeaking )
| inline virtual

Callback used to notify that is this participant device speaking has changed.

Parameters

  participantDevice | ParticipantDevice object
  isSpeaking | is this participant device speaking

## ◆ onStateChanged()

virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onStateChanged | ( | const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice,
|  | linphone::ParticipantDevice::State | state )
| inline virtual

Callback used to notify that participant device changed state.

Parameters

  participantDevice | LinphoneParticipantDevice object

## ◆ onStreamAvailabilityChanged()

virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onStreamAvailabilityChanged | ( | const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice,
|  | bool | available,
|  | linphone::StreamType | streamType )
| inline virtual

Callback used to notify that participant device stream availability has changed.

Parameters

  participantDevice | ParticipantDevice object

## ◆ onStreamCapabilityChanged()

virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onStreamCapabilityChanged | ( | const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice,
|  | linphone::MediaDirection | direction,
|  | linphone::StreamType | streamType )
| inline virtual

Callback used to notify that participant device stream capability has changed.

Parameters

  participantDevice | ParticipantDevice object
  direction | participant device's audio direction

## ◆ onVideoDisplayErrorOccurred()

virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onVideoDisplayErrorOccurred | ( | const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice,
|  | int | errorCode )
| inline virtual

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.

The documentation for this class was generated from the following file:

- participant_device_listener.hh