An object to handle the callbacks for the handling a ParticipantDevice objects.
More...
#include <participant_device_listener.hh>
|
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 | onScreenSharingChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, bool isScreenSharing) |
| Callback used to notify that this participant device is screen sharing or is no longer screen sharing.
|
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 | onThumbnailStreamCapabilityChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, linphone::MediaDirection direction) |
| Callback used to notify that participant device thumbnail 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 | onThumbnailStreamAvailabilityChanged (const std::shared_ptr< linphone::ParticipantDevice > &participantDevice, bool available) |
| Callback used to notify that participant device thumbnail 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.
|
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().
◆ onIsMuted()
virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onIsMuted |
( |
const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice, |
|
|
bool | isMuted ) |
|
inlinevirtual |
Callback used to notify that this participant device is muted or is no longer muted.
- Parameters
-
◆ onIsSpeakingChanged()
virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onIsSpeakingChanged |
( |
const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice, |
|
|
bool | isSpeaking ) |
|
inlinevirtual |
Callback used to notify that is this participant device speaking has changed.
- Parameters
-
participantDevice | ParticipantDevice object
|
isSpeaking | is this participant device speaking |
◆ onScreenSharingChanged()
virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onScreenSharingChanged |
( |
const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice, |
|
|
bool | isScreenSharing ) |
|
inlinevirtual |
Callback used to notify that this participant device is screen sharing or is no longer screen sharing.
- Parameters
-
participantDevice | ParticipantDevice object
|
isScreenSharing | is this participant device screen sharing |
◆ onStateChanged()
Callback used to notify that participant device changed state.
- Parameters
-
participantDevice | LinphoneParticipantDevice object
|
state | new participant device state |
◆ onStreamAvailabilityChanged()
Callback used to notify that participant device stream availability has changed.
- Parameters
-
participantDevice | ParticipantDevice object
|
available | true if the stream is available on our side |
streamType | type of stream: audio, video or text |
◆ onStreamCapabilityChanged()
Callback used to notify that participant device stream capability has changed.
- Parameters
-
participantDevice | ParticipantDevice object
|
direction | participant device's stream direction |
streamType | type of stream: audio, video or text |
◆ onThumbnailStreamAvailabilityChanged()
virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onThumbnailStreamAvailabilityChanged |
( |
const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice, |
|
|
bool | available ) |
|
inlinevirtual |
Callback used to notify that participant device thumbnail stream availability has changed.
- Parameters
-
participantDevice | ParticipantDevice object
|
available | participant device's thumbnail stream availability |
◆ onThumbnailStreamCapabilityChanged()
Callback used to notify that participant device thumbnail stream capability has changed.
- Parameters
-
participantDevice | ParticipantDevice object
|
direction | participant device's thumbnail direction |
◆ onVideoDisplayErrorOccurred()
virtual LINPHONECXX_PUBLIC void linphone::ParticipantDeviceListener::onVideoDisplayErrorOccurred |
( |
const std::shared_ptr< linphone::ParticipantDevice > & | participantDevice, |
|
|
int | errorCode ) |
|
inlinevirtual |
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