Serenada Config
Configuration for the Serenada SDK.
Constructors
Properties
Custom audio coordinator. If null, the SDK uses its internal default coordinator.
Audio policy passed to the coordinator when a call session activates.
Camera modes available in the call UI, in preference order. The first entry is the initial mode. When only one mode is listed the flip-camera control is hidden; an empty list disables camera capture (the video toggle is hidden and the camera is never requested). Remote video and screen sharing remain available unless videoMediaEnabled is false. Modes unsupported on the current device are silently dropped (COMPOSITE is dropped on devices without multi-cam). SCREEN_SHARE is always ignored — screen sharing is controlled separately. Defaults to [SELFIE, WORLD, COMPOSITE].
Whether audio starts enabled (default true).
Whether video starts enabled (default true).
When true, defer the initial-negotiation offer-timeout/ICE-restart while the host peer awaits its FIRST answer. For app-owned calls whose answer is gated on a remote action that may take much longer than the offer timeout (e.g. PSTN human pickup). Normal offer-timeout behavior resumes after the first answer. Default false = unchanged for existing calls.
Static build capability: whether this client can negotiate, send, receive, classify, expose, and render an independent content (screen share) video stream. Advertised at join as capabilities.independentContentVideo. Immutable per session.
Whether to request Opus discontinuous transmission so silence uses substantially less bandwidth (default false).
Whether to prefer/enable Opus RED (RFC 2198 audio redundancy) on audio transceivers for audio loss resilience (default false).
Enable experimental HD video capture.
Whether the proximity sensor is used to switch audio to the earpiece and pause video (default false).
Server host or origin (e.g. "serenada.app" or "http://localhost:8080").
Custom signaling provider. Provide exactly one of serverHost or signalingProvider.
Preferred signaling transports in priority order (default: WS then SSE).
Whether this call can negotiate any video media. Set false for strict audio-only calls such as PSTN: camera capture, screen sharing, and remote video are all disabled. Defaults to true.