Skip to content

WebrtcCallEventListener

Ajša Terko edited this page Jul 23, 2025 · 5 revisions



onCameraVideoAdded(cameraVideoAddedEvent)

Description

This callback method is triggered when a local camera video is added to the call.

Arguments

  • cameraVideoAddedEvent: CameraVideoAddedEvent - Event object representing the local camera RTC video track.

Returns

  • N/A



onCameraVideoUpdated(cameraVideoUpdatedEvent)

Description

This callback method is triggered when the local camera video is updated during the call.

Arguments

  • cameraVideoUpdatedEvent: CameraVideoUpdatedEvent - Event object representing the updated local camera RTC video track.

Returns

  • N/A



onCameraVideoRemoved(cameraVideoRemovedEvent)

Description

This callback method is triggered when the local camera video is removed during the call.

Arguments

  • cameraVideoRemovedEvent: CameraVideoRemovedEvent - Event object representing the reason for the removal of the camera video.

Returns

  • N/A



onScreenShareAdded(screenShareAddedEvent)

Description

This callback method is triggered when screen sharing is initiated locally on the call.

Arguments

  • screenShareAddedEvent: ScreenShareAddedEvent - Event object representing the screen share track added to the call.

Returns

  • N/A



onScreenShareRemoved(screenShareRemovedEvent)

Description

This callback method is triggered when screen sharing is removed locally from the call.

Arguments

  • screenShareRemovedEvent: ScreenShareRemovedEvent - Event object representing the reason for the removal of the screen share.

Returns

  • N/A



onRemoteCameraVideoAdded(cameraVideoAddedEvent)

Description

This callback method is triggered when a remote endpoint adds their camera video to the call.

Arguments

  • cameraVideoAddedEvent: CameraVideoAddedEvent - Event object representing the remote camera RTC video track.

Returns

  • N/A



onRemoteCameraVideoRemoved()

Description

This callback method is triggered when a remote endpoint removes their camera video from the call.

Arguments

  • N/A

Returns

  • N/A



onRemoteScreenShareAdded(screenShareAddedEvent)

Description

This callback method is triggered when a remote endpoint starts sharing their screen on the call.

Arguments

  • screenShareAddedEvent: ScreenShareAddedEvent - Event object representing the remote screen share RTC video track.

Returns

  • N/A



onRemoteScreenShareRemoved()

Description

This callback method is triggered when a remote endpoint stops sharing their screen on the call.

Arguments

  • N/A

Returns

  • N/A



onRemoteMuted()

Description

This callback method is triggered when a remote endpoint is muted on the call.

Arguments

  • N/A

Returns

  • N/A



onRemoteUnmuted()

Description

This callback method is triggered when a remote endpoint is unmuted on the call.

Arguments

  • N/A

Returns

  • N/A



onRemoteDisconnected(remoteDisconnectedEvent)

Description

This callback method is triggered when a remote endpoint disconnects from the call.

Arguments

Returns

  • N/A



onRemoteReconnected(remoteReconnectedEvent)

Description

This callback method is triggered when a remote endpoint reconnects to the call.

Arguments

Returns

  • N/A

Tutorials

Migration guides

Reference documentation

Clone this wiki locally