Skip to main content

Introduction

An interactive live stream is a real-time session that runs in the browser. The host goes live from a studio page with their camera, microphone or screen, and attendees can be brought on stage to talk with the host. There is no RTMP ingest and no OBS setup.

Attendees who are not on stage watch the session as a normal live video, and the recording is available in the same player once the session ends.

Interactive vs broadcast live streams​

Broadcast (default)Interactive
How the host goes liveOBS or any RTMP encoderBrowser studio, no software to install
Attendees on stageNoYes
type fieldbroadcastinteractive
Start the streamStart streaming from the encoderStart API or the dashboard
Playback for viewersAccess token playback_urlInteractive access token playback_url
important

Interactive live streaming must be enabled for your organization. Contact TPStreams support to enable it. Until it is enabled, creating an interactive live stream returns 403 Forbidden.

Integration flow​

  1. Create an interactive live stream, either instantly or scheduled for later.
  2. Generate a host access token and open its playback_url for the host. This is the host's studio.
  3. Start the live stream.
  4. Generate an attendee access token for each attendee and embed the playback_url in your page.
  5. Optionally, listen for player events on your page to react when an attendee joins or leaves the stage, or when the session ends.
  6. Stop the live stream when the session is over. The recording plays in the same embed afterwards.

Status changes are sent to your webhook, just like broadcast live streams.