dispose() to prevent memory leaks.
Get CallSession Instance
TheCallSession is a singleton that manages the active call. All event listener registrations and session control methods are accessed through this instance.
Session Events
Monitor the call session lifecycle including join/leave events and connection status.
Remove the listener when no longer needed:
Participant Events
Monitor participant activities including join/leave, audio/video state, hand raise, screen sharing, and recording.
Remove the listener when no longer needed:
Media Events
Monitor your local media state changes including audio/video status, recording, and device changes.AudioMode Values
AudioMode Values
CameraFacing Values
CameraFacing Values
Button Click Events
Intercept UI button clicks from the default call interface to add custom behavior or analytics.Button click events fire before the SDK’s default action executes. Use these to add custom logic alongside default behavior.
Layout Events
Monitor layout changes including layout type switches and Picture-in-Picture mode transitions.LayoutType Values
LayoutType Values