Skip to content

WebrtcCallEventListener

Kenan Genjac edited this page Jul 2, 2024 · 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 screenshare removal.

Returns

  • N/A



onRemoteCameraVideoAdded(cameraVideoAddedEvent)

Description

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

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 user has removed their camera video from the call.

Arguments

  • none

Returns

  • N/A



onRemoteScreenShareAdded(screenShareAddedEvent)

Description

Method that is triggered when the remote user has shared their screen in the call.

Arguments

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

Returns

  • N/A



onRemoteScreenShareRemoved()

Description

Method that is triggered when the remote participant has removed their shared screen from the call.

Arguments

  • none

Returns

  • N/A



onRemoteMuted()

Description

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

Arguments

  • none

Returns

  • N/A



onRemoteUnmuted()

Description

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

Arguments

  • none

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