ConstReadonlyActiveSpeaker: "active-speaker"The active speaker changed. Payload: (peerId | null, audioLevel).
ReadonlyConnectionFailed: "connection-failed"A peer connection transitioned to the failed state and was dropped. Payload: (peerId).
ReadonlyDataChannel: "data-channel"A remote-initiated data channel opened. Payload: (peerId, channel).
ReadonlyError: "error"A recoverable per-peer error occurred. Payload: (peerId, error).
ReadonlyRemoteStream: "remote-stream"A remote peer's MediaStream became available. Payload: (peerId, stream).
ReadonlyRemoteStreamRemoved: "remote-stream-removed"A remote peer's stream was removed, typically because the peer left. Payload: (peerId).
ReadonlyTrackPublished: "track-published"A local track was published to the mesh. Payload: (track, stream).
ReadonlyTrackUnpublished: "track-unpublished"A local track was unpublished — removed, or ended (e.g. device unplugged). Payload: (track).
Events emitted by a Call on the browser P2P mesh.