OptionalvideoThe element to play into. Required for HLS; optional for WHEP.
OptionalprotocolForce a protocol. Inferred from the URL when omitted.
OptionalhlsFactory returning an hls.js instance, e.g. () => new Hls({ lowLatencyMode: true }).
Required for HLS anywhere except Safari, and injected rather than imported so hls.js never becomes a dependency of this SDK — most rooms never play HLS, and React Native cannot use it at all.
OptionalheadersExtra headers for the WHEP POST, e.g. an auth token.
OptionaliceICE servers for WHEP. Defaults to the room's own when available.
Playback URL, or a
PlaybackSourcefromgetPlaybackSources.