OptionalcandidatePredicate used to drop unwanted ICE candidates before they are signaled. Return false to filter.
OptionalcodecPreferred send codec, matched case-insensitively against the codec mime type (e.g. "VP9").
OptionaliceICE servers (STUN/TURN) used for connectivity establishment.
OptionalisDetermines which side is the "polite" peer for perfect negotiation. Defaults to
comparing peer ids (localPeerId < remotePeerId). The polite peer rolls back on
offer collisions; the impolite peer ignores the colliding remote offer.
OptionalloggerLogger used for diagnostics. Defaults to a no-op logger.
OptionalmaxDefault maximum send bitrate, in bits per second, applied to published tracks.
OptionalmaxNumber of ICE restarts to attempt (impolite side) before dropping a
connection that reaches the failed state, letting a transient network
blip recover instead of tearing down the call.
OptionalmetricsOptional metrics collector.
OptionalnegotiationIf set, a peer whose renegotiation does not complete within this many milliseconds is dropped.
OptionalpeerFactory for the underlying RTCPeerConnection, e.g. to inject a Node WebRTC implementation.
OptionalrtcAdditional RTCConfiguration merged into the peer connection config (e.g. bundle policy).
OptionalscreenOverrides applied specifically to screen-share tracks added via Call.addScreenTrack.
Optionalcodec?: stringPreferred codec for the screen-share track.
OptionalcontentHint?: "text" | "motion" | "detail"Content hint that tunes the encoder for the given content type.
OptionalmaxBitrate?: numberMaximum send bitrate for the screen-share track, in bits per second.
OptionalsimulcastSimulcast configuration; each entry becomes an RTP send encoding on published tracks.
Ordered simulcast layers (RID, max bitrate, and optional resolution downscale factor).
OptionalstopWhen true, Call.close calls track.stop() on the local tracks
(turning off the camera/mic). Leave false if the app owns and reuses the
stream elsewhere.
OptionalstreamInitial local stream whose tracks are published to every peer connection.
Configuration for a Call (and the PeerConnections it creates). All fields are optional; sensible defaults apply when omitted.