Optionaldeps: {Current WebRTC call statistics, or null if not yet collecting.
Local media stream (camera/microphone), or null before media is acquired.
Map of remote participant CID to their media stream.
Cancel an in-progress join and destroy the session.
Clean up all resources. Call when done with the session.
End the call for all participants.
Cycle to the next camera mode (selfie to world or vice versa).
Leave the call gracefully. The other participant stays connected.
Resume joining after media permissions have been granted.
Set local audio enabled state explicitly.
Switch camera mode (selfie/world). Composite is not available on web.
Set local video enabled state explicitly.
Start sharing the screen, replacing the camera video track.
Stop screen sharing and restore the camera video track.
Subscribe to state changes. Returns an unsubscribe function.
Toggle local audio on/off.
Toggle local video on/off.
Represents an active call session. Created via SerenadaCore.join or SerenadaCore.createRoom. Manages media, signaling, and call state.