Hybrid delivery
Live when you start itWebRTC Stage + Synced HLS Audience
A few people talk live on stage over WebRTC while a large audience watches the same moment over HLS — the setup behind town halls, launches and live shows.- Active WebRTC stage
- Passive HLS cohort
- Clock and transport experiments
Try it in 3 moves
- Join the stage
Real-time WebRTC, under a second of delay.
- Move the audience
Play or seek the HLS cohort and watch it trail the stage.
- Promote someone
They switch from watching to sending, mid-session.
Premium React reference · hybrid delivery lab
WebRTC Stage + Synced HLS Audience
Keep the host and two guests conversational while a passive cohort follows one versioned program clock.Guest-ready custom reference
Guest-ready WebRTC stage
Everyone on stage talks in real time. A separate stream carries the same picture to a large watch-only audience.
- Guests join a private room that closes when you leave.
- Video and audio stay inside this panel.
- No sign-in, no saved data, nothing stored after you leave.
Conversational path
Active WebRTC stage
Scaled delivery path
Passive synchronized audience
Ready to try. Nothing is running yet — no room, no camera, no stream.
How a room splits into a small live stage and a large watching audience: who can speak, how many fit on stage, what the host can change mid-session, and where the switch between instant WebRTC and scaled HLS happens.
What stays illustrativeThe seat and cohort diagrams explain capacity and commands. The WebRTC room, cameras, microphones, guest links, HLS feed and watch links in the live panel above are real and expire with the room.
Add a watch-only stream for a big audience
The guest room above is the default. A Studio/profile or BYO integration may inject a separately authorized member-HLS adapter; it never changes the room boundary or grants a participant end authority.
Operators: run a saved 15-minute session
The stage above needs no account and keeps nothing. A saved session is the signed-in variant: it is recorded on our servers, expires in 15 minutes, and can be scrubbed on demand.
For developers: how the stream is put together
The premium surface, deterministic playback lab, roles, evidence, and teardown all resolve from the same frozen scenario.
Hybrid real-time and egress pattern - guide-only
Technical workbench · WebRTC Stage + Synced HLS Audience
A host and up to two active guests talk over WebRTC while passive viewers consume clock-aligned HLS renditions and follow a server-authoritative live-edge or DVR playhead.
- 1Start with
one host, at most two active guests, and a larger passive audience with an explicit latency and DVR policy
- 2Use MediaSFU primitives
room lifecycle, role-scoped publishing, active participant presence, WebRTC consume state, and observed media events
- 3Get
a hybrid stage where active speakers remain conversational and passive viewers receive synchronized egress playback
- 4Refine with
HLS or CMAF egress, program-time alignment, authoritative cohort commands, drift telemetry, AB comparison, and cleanup adapters
Build translation
Start with X → MediaSFU primitives Y → outcome Z
room-create-v1 + room-join-v1 + participant roles→OutcomeExactly three permitted publishers can be represented on the live stageRefine: Bind server-owned admission, active-capacity, and promotion policy.
WebRTC publish and consume state→OutcomeThe active trio can consume one another with conversational latencyRefine: Bind network-quality policy and prove media in isolated browsers.
observed active media state→OutcomeEach active source has an explicit egress intent without pretending the browser creates HLSRefine: Bind aligned HLS or CMAF renditions, manifests, storage, and delivery.
application state beside room events→OutcomeA versioned cohort playhead can coordinate passive viewers without seeking the live speakersRefine: Bind a server-authoritative clock, command sequence, drift budget, and DVR window.
role and consume intent→OutcomeA bounded passive cohort may be assigned receive-only WebRTC for comparisonRefine: Bind deterministic cohort assignment, capacity limits, QoE metrics, and rollback.
Role lens
Who owns each decision?
Topology
The room and its deliberate gaps
Control inventory
Controls are states, not simulated actions
Server policy must admit at most two active guests and demote or reject excess requests.
Owner: role authorityProjects publish and consume readiness for the active trio; the guide requests no media.
Owner: installed SDKSelects whether the passive cohort follows live edge or may use a bounded rewind window.
Owner: egress and playback policyCreates a versioned command for passive viewers only; active speakers stay live.
Owner: clock authorityAssigns a bounded experiment cohort before join and never flips a viewer silently.
Owner: experiment authorityInteractive protocol proof
Active WebRTC stage + synchronized passive audience
Issue a local command to inspect monotonic versioning, drift correction, and the active-stage invariant.
This is a protocol model, not simulated playback. A real run must inject admission, HLS/CMAF egress, shared-clock, QoE, and teardown adapters and replace every local projection with observed evidence.
Implementation workbench
Host application: Declare stage, audience, and timeline policy
Do: Choose active capacity, passive transport, latency target, live-edge or DVR semantics, rights, and retention before enabling controls.
Then: The guide exposes no room, manifest, media locator, assignment, or durable viewer value.
Evidence: Reviewed hybrid-session policy
Recovery: Stop before admission when any authority or rights boundary is unavailable.