Skip to content

WebrtcCallEventListener

Eldar Babić edited this page Feb 10, 2025 · 3 revisions



onCameraVideoAdded(cameraVideoAddedEvent)

Description

Method that is triggered when camera video has been added locally on a call.

Arguments

  • cameraVideoAddedEvent: CameraVideoAddedEvent - Event instance which contains the local camera RTC video track.

Returns

  • N/A



onCameraVideoUpdated(cameraVideoUpdatedEvent)

Description

Method that is triggered when camera video has been updated (in any way changed) locally on a call.

Arguments

  • cameraVideoUpdatedEvent: CameraVideoUpdatedEvent - Event instance which contains the updated local camera RTC video track.

Returns

  • N/A



onCameraVideoRemoved()

Description

Method that is triggered when camera video has been removed locally on a call.

Arguments

  • none

Returns

  • N/A



onScreenShareAdded(screenShareAddedEvent)

Description

Method that is triggered when screen sharing has been started locally on a call.

Arguments

  • screenShareAddedEvent: ScreenShareAddedEvent - Event instance which contains the local screen share RTC video track.

Returns

  • N/A



onScreenShareRemoved(screenShareRemovedEvent)

Description

Method that is triggered when screen sharing has been stopped locally on a call.

Arguments

  • screenShareRemovedEvent: ScreenShareRemovedEvent - Event instance which contains the reason for the removal of screen share.

Returns

  • N/A



onRemoteCameraVideoAdded(cameraVideoAddedEvent)

Description

Method that is triggered when remote user has added their camera video.

Arguments

  • cameraVideoAddedEvent: CameraVideoAddedEvent - Event instance which contains the remote camera RTC video track.

Returns

  • N/A



onRemoteCameraVideoRemoved()

Description

Method that is triggered when the remote participant has removed their camera video.

Arguments

  • none

Returns

  • N/A



onRemoteScreenShareAdded(screenShareAddedEvent)

Description

Method that is triggered when another participant has shared their screen to the conference.

Arguments

  • screenShareAddedEvent: ScreenShareAddedEvent - Event instance which contains the remote screen share RTC video track.

Returns

  • N/A



onRemoteScreenShareRemoved()

Description

Method that is triggered when another participant has removed their shared screen from the conference.

Arguments

  • none

Returns

  • none



onRemoteMuted()

Description

Method that is triggered when remote user has been muted in the call.

Arguments

  • none

Returns

  • N/A



onRemoteUnmuted()

Description

Method that is triggered when remote user has been unmuted in the call.

Arguments

  • none

Returns

  • N/A



onRemoteDisconnected(remoteDisconnectedEvent)

Description

Method that is triggered when remote user has disconnected from the call.

Arguments

  • remoteDisconnectedEvent: RemoteDisconnectedEvent - Event instance which is used when remote user disconnected. Does not contain any additional data.

Returns

  • N/A



onRemoteReconnected(remoteReconnectedEvent)

Description

Method that is triggered when remote user has reconnected to the call.

Arguments

  • remoteReconnectedEvent: RemoteReconnectedEvent - Event instance which is used when remote user reconnects. Does not contain any additional data.

Returns

  • N/A



onCallRecordingStarted(callRecordingStartedEvent)

Description

Method that is triggered when the call recording has been started.

Arguments

  • callRecordingStartedEvent: CallRecordingStartedEvent - Event instance which contains data about the current recording type in the call when the call recording is started.

Returns

  • N/A

Tutorials

Migration guides

Reference documentation

Clone this wiki locally