ParticipantDeviceDelegate
public protocol ParticipantDeviceDelegate : AnyObject
-
onIsSpeakingChanged(participantDevice:Default implementationisSpeaking: ) Callback used to notify that is this participant device speaking has changed.
Default Implementation
Declaration
Swift
func onIsSpeakingChanged(participantDevice: ParticipantDevice, isSpeaking: Bool)Parameters
participantDeviceLinphoneParticipantDevice object
isSpeakingis this participant device speaking
-
onIsMuted(participantDevice:Default implementationisMuted: ) Callback used to notify that this participant device is muted or is no longer muted.
Default Implementation
Declaration
Swift
func onIsMuted(participantDevice: ParticipantDevice, isMuted: Bool)Parameters
participantDeviceLinphoneParticipantDevice object
isMutedis this participant device muted
-
onStateChanged(participantDevice:Default implementationstate: ) Callback used to notify that participant device changed state.
Default Implementation
Declaration
Swift
func onStateChanged(participantDevice: ParticipantDevice, state: ParticipantDeviceState)Parameters
participantDeviceLinphoneParticipantDevice object
-
onStreamCapabilityChanged(participantDevice:Default implementationdirection: streamType: ) Callback used to notify that participant device stream capability has changed.
Default Implementation
Declaration
Swift
func onStreamCapabilityChanged(participantDevice: ParticipantDevice, direction: MediaDirection, streamType: StreamType)Parameters
participantDeviceLinphoneParticipantDevice object
directionparticipant device’s audio direction
-
onStreamAvailabilityChanged(participantDevice:Default implementationavailable: streamType: ) Callback used to notify that participant device stream availability has changed.
Default Implementation
Declaration
Swift
func onStreamAvailabilityChanged(participantDevice: ParticipantDevice, available: Bool, streamType: StreamType)Parameters
participantDeviceLinphoneParticipantDevice object
-
onVideoDisplayErrorOccurred(participantDevice:Default implementationerrorCode: ) Callback to notify that there are errors from the video rendering of the participant device. Check LinphoneCallCbsVideoDisplayErrorOccurredCb for more details.
Default Implementation
Declaration
Swift
func onVideoDisplayErrorOccurred(participantDevice: ParticipantDevice, errorCode: Int)Parameters
participantDeviceLinphoneParticipantDevice object
errorCodethe error code coming from the display render.
ParticipantDeviceDelegate Protocol Reference