For apps
Live streaming for your app
A live streaming API and SDK for Next.js, Laravel, Django and any other stack. A host goes live from the browser, a phone or OBS, our media servers carry the picture to everyone watching, and the player with its chat is ready to use, so there is no media server for you to run.
The best pricing for WebSockets, unlimited 1-to-1 calls with TURN servers worldwide, and group calls and live streaming with an allowance included. From $11.99 a month for 1,000 concurrent connections, billed yearly, or $14.99 billed monthly.
Viewers above your plan: $0.20 per 1,000 minutes.
Next.js on the server, and React on the page.
export async function GET( request: Request ) {
const me = await currentUserId(); // null for a visitor
const id = new URL( request.url ).searchParams.get( 'id' )!;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
} );
return Response.json( { token } );
}app.get( '/api/stream-token', async ( req, res ) => {
const me = userOf( req ); // null for a visitor
const { id } = req.query;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
} );
res.json( { token } );
} );import { createServer } from 'node:http';
createServer( async ( req, res ) => {
const url = new URL( req.url, 'http://localhost' );
if ( url.pathname === '/api/stream-token' ) {
const me = userOf( req ); // null for a visitor
const id = url.searchParams.get( 'id' );
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
} );
res.writeHead( 200, { 'Content-Type': 'application/json' } );
return res.end( JSON.stringify( { token } ) );
}
// Your pages, and realtime.node( userOf ) for the SDK's routes.
} ).listen( 3000 );use Illuminate\Http\Request;
use WordPlus\Realtime\Laravel\Facades\Realtime;
Route::get( '/api/stream-token', function ( Request $request ) {
$me = $request->user()?->id; // null for a visitor
$id = $request->query( 'id' );
// Your own check: its host goes live, the rest watch.
return [ 'token' => Realtime::streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
] ) ];
} );require __DIR__ . '/../src/realtime.php';
$me = current_user_id(); // null for a visitor
$id = $_GET['id'] ?? '';
header( 'Content-Type: application/json' );
// Your own check: its host goes live, the rest watch.
echo json_encode( [
'token' => $realtime->streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
] ),
] );from django.http import JsonResponse
from .realtime import realtime
# In urls.py: path("api/stream-token", views.stream_token)
def stream_token(request):
me = request.user.id if request.user.is_authenticated else None
id = request.GET["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
)
return JsonResponse({"token": token})from fastapi import Depends
from realtime import realtime
# current_user_id answers None for a visitor.
@app.get("/api/stream-token")
def stream_token(id: str, me: int | None = Depends(current_user_id)):
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
)
return {"token": token}from flask import request, session
from realtime import realtime
@app.get("/api/stream-token")
def stream_token():
me = session.get("user_id") # None for a visitor
id = request.args["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
)
return {"token": token}// http.HandleFunc("GET /api/stream-token", streamToken)
func streamToken(w http.ResponseWriter, r *http.Request) {
me := userOf(r) // empty for a visitor
id := r.URL.Query().Get("id")
// Your own check: its host goes live, the rest watch.
role := "viewer"
if me != "" && isHostOf(id, me) {
role = "host"
}
token := app.StreamToken(wordplus.Stream{
Name: "live:" + id,
Role: role,
User: me,
})
reply(w, map[string]string{"token": token})
}Hooks and components for any React app, on any of the servers above.
import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script>import { connect } from '@wordplus/realtime';
const settings = await fetch( '/api/realtime/config' );
const rt = await connect( await settings.json() );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:{{ $event->id }}"
token-url="/api/stream-token?id={{ $event->id }}"
title="{{ $event->title }}"></live-stream>
<script type="module">
// The player and the studio.
await window.Echo.connector.rt.streamScreen();
</script>'use client'; // in Next.js
import { LiveStream } from '@wordplus/realtime/react';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStream name={ `live:${ id }` } title={ title }
tokenUrl={ `/api/stream-token?id=${ id }` } />
);
}<script setup>
import { onMounted } from 'vue';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
defineProps( [ 'id', 'title' ] );
onMounted( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<!-- isCustomElement for this tag, in vite.config.js -->
<template>
<live-stream :name="`live:${ id }`" :title="title"
:token-url="`/api/stream-token?id=${ id }`"></live-stream>
</template><script>
import { onMount } from 'svelte';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
let { id, title } = $props();
onMount( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<live-stream name="live:{ id }" { title }
token-url="/api/stream-token?id={ id }"></live-stream>import {
Component, CUSTOM_ELEMENTS_SCHEMA, Input,
} from '@angular/core';
// realtime.ts, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
@Component( {
selector: 'app-stream',
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
template: `
<live-stream [attr.name]="'live:' + id"
[attr.token-url]="'/api/stream-token?id=' + id"
[attr.title]="title"></live-stream>
`,
} )
export class StreamComponent {
@Input( { required: true } ) id!: number;
@Input( { required: true } ) title!: string;
async ngOnInit() {
// The player and the studio.
( await realtime ).streamScreen();
}
}import WordPlusRealtimeCalls
import WordPlusRealtimeUI
// Your own request to your route, asked again as tokens run out.
let stream = try await rt.joinStream {
try await api.streamToken(id: 12)
}
present(LiveStreamScreen(stream: stream, title: "Opening night"),
animated: true)import cloud.wordplus.realtime.calls.joinStream
import cloud.wordplus.realtime.ui.LiveStreamScreen
// Your own request to your route, asked again as tokens run out.
val stream = rt.joinStream(context) {
api.streamToken(id = 12)
}
LiveStreamScreen.open(activity, stream, title = "Opening night")import { LiveStreamButton } from '@wordplus/realtime-react-native';
// Your server, in full, as an app has no address of its own.
const API = 'https://app.example.com/api';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStreamButton name={ `live:${ id }` } title={ title }
tokenUrl={ `${ API }/stream-token?id=${ id }` }>
Watch
</LiveStreamButton>
);
}import 'package:flutter/material.dart';
import 'package:wordplus_realtime/wordplus_realtime.dart';
// Your server, in full, as an app has no address of its own.
const api = 'https://app.example.com/api';
// In your build. It asks your route again as tokens run out.
LiveStreamButton(
rt: rt,
stream: 'live:12',
tokenUrl: '$api/stream-token?id=12',
title: 'Opening night',
child: const Text('Watch'),
)
Try a live stream
Go live from this page, then watch it from your phone or a second window. No account needed.
These are the screens the SDK gives your app. Your browser asks for your camera and microphone, nothing is recorded, and the demo ends after 10 minutes.
Hosts and moderators
Go live from the browser, a phone or OBS
The studio and the chat come with the player, for the host and the moderators your server names.
The camera, a screen or OBS
The host sees the picture before going live, then goes live with a click and ends the stream for everyone. They stream from the camera and microphone of the browser or a phone, share a screen, or send the picture from OBS or any other encoder over WHIP.

A chat that stays tidy
Viewers write in the chat beside the picture and send reactions over it. The host and the moderators your server names pin and delete messages, slow the chat down, mute someone for a while, and remove or ban them. Your server can do the same, and write in the chat under a name of its own.

Viewers
Everyone watching, signed in or not
A link to the page is all a viewer needs. They watch, write in the chat and react, and everyone sees how many watch.
No account to watch
Your server makes a visitor a viewer, so anyone with the link watches, and signs in to write in the chat. Or keep a stream for members only.
A picture for each screen
Each viewer gets the picture in the size their screen and connection carry, on the web, iOS and Android, with a live count of who watches.
Guests on stage
A viewer raises a hand, and the host brings them on stage with their camera and microphone, for a question, an interview or a panel.
Your server decides
A few lines in your stack
Your server says who hosts each stream, who watches and who keeps the chat. The page shows the stream with one element, or with your own code.
Next.js on the server, and React on the page.
export async function GET( request: Request ) {
const me = await currentUserId(); // null for a visitor
const id = new URL( request.url ).searchParams.get( 'id' )!;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
mod: me && await isModerator( me ),
settings: { reactions: true },
} );
return Response.json( { token } );
}app.get( '/api/stream-token', async ( req, res ) => {
const me = userOf( req ); // null for a visitor
const { id } = req.query;
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
mod: me && await isModerator( me ),
settings: { reactions: true },
} );
res.json( { token } );
} );import { createServer } from 'node:http';
createServer( async ( req, res ) => {
const url = new URL( req.url, 'http://localhost' );
if ( url.pathname === '/api/stream-token' ) {
const me = userOf( req ); // null for a visitor
const id = url.searchParams.get( 'id' );
// Your own check: its host goes live, the rest watch.
const token = await realtime.streamToken( me, 'live:' + id, {
role: me && await isHostOf( id, me ) ? 'host' : 'viewer',
mod: me && await isModerator( me ),
settings: { reactions: true },
} );
res.writeHead( 200, { 'Content-Type': 'application/json' } );
return res.end( JSON.stringify( { token } ) );
}
// Your pages, and realtime.node( userOf ) for the SDK's routes.
} ).listen( 3000 );use Illuminate\Http\Request;
use WordPlus\Realtime\Laravel\Facades\Realtime;
Route::get( '/api/stream-token', function ( Request $request ) {
$me = $request->user()?->id; // null for a visitor
$id = $request->query( 'id' );
// Your own check: its host goes live, the rest watch.
return [ 'token' => Realtime::streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
'mod' => $me && is_moderator( $me ),
'settings' => [ 'reactions' => true ],
] ) ];
} );require __DIR__ . '/../src/realtime.php';
$me = current_user_id(); // null for a visitor
$id = $_GET['id'] ?? '';
header( 'Content-Type: application/json' );
// Your own check: its host goes live, the rest watch.
echo json_encode( [
'token' => $realtime->streamToken( $me, 'live:' . $id, [
'role' => $me && is_host_of( $id, $me ) ? 'host' : 'viewer',
'mod' => $me && is_moderator( $me ),
'settings' => [ 'reactions' => true ],
] ),
] );from django.http import JsonResponse
from .realtime import realtime
# In urls.py: path("api/stream-token", views.stream_token)
def stream_token(request):
me = request.user.id if request.user.is_authenticated else None
id = request.GET["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
mod=bool(me and is_moderator(me)),
settings={"reactions": True},
)
return JsonResponse({"token": token})from fastapi import Depends
from realtime import realtime
# current_user_id answers None for a visitor.
@app.get("/api/stream-token")
def stream_token(id: str, me: int | None = Depends(current_user_id)):
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
mod=bool(me and is_moderator(me)),
settings={"reactions": True},
)
return {"token": token}from flask import request, session
from realtime import realtime
@app.get("/api/stream-token")
def stream_token():
me = session.get("user_id") # None for a visitor
id = request.args["id"]
# Your own check: its host goes live, the rest watch.
token = realtime.stream_token(
me,
"live:" + id,
role="host" if me and is_host_of(id, me) else "viewer",
mod=bool(me and is_moderator(me)),
settings={"reactions": True},
)
return {"token": token}// http.HandleFunc("GET /api/stream-token", streamToken)
func streamToken(w http.ResponseWriter, r *http.Request) {
me := userOf(r) // empty for a visitor
id := r.URL.Query().Get("id")
// Your own check: its host goes live, the rest watch.
role := "viewer"
if me != "" && isHostOf(id, me) {
role = "host"
}
token := app.StreamToken(wordplus.Stream{
Name: "live:" + id,
Role: role,
User: me,
Mod: me != "" && isModerator(me),
React: wordplus.Yes,
})
reply(w, map[string]string{"token": token})
}Hooks and components for any React app, on any of the servers above.
import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect();
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream>import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script><live-stream name="live:12"
token-url="/api/stream-token?id=12"
title="Opening night"></live-stream>
<script type="module">
import { connect } from '@wordplus/realtime';
const rt = await connect( window.wordplusRealtimeConfig );
// The player and the studio.
await rt.streamScreen();
</script>import { connect } from '@wordplus/realtime';
const settings = await fetch( '/api/realtime/config' );
const rt = await connect( await settings.json() );
// The player and the studio.
await rt.streamScreen();
// And in the page:
// <live-stream name="live:12"
// token-url="/api/stream-token?id=12"
// title="Opening night"></live-stream><live-stream name="live:{{ $event->id }}"
token-url="/api/stream-token?id={{ $event->id }}"
title="{{ $event->title }}"></live-stream>
<script type="module">
// The player and the studio.
await window.Echo.connector.rt.streamScreen();
</script>'use client'; // in Next.js
import { LiveStream } from '@wordplus/realtime/react';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStream name={ `live:${ id }` } title={ title }
tokenUrl={ `/api/stream-token?id=${ id }` } />
);
}<script setup>
import { onMounted } from 'vue';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
defineProps( [ 'id', 'title' ] );
onMounted( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<!-- isCustomElement for this tag, in vite.config.js -->
<template>
<live-stream :name="`live:${ id }`" :title="title"
:token-url="`/api/stream-token?id=${ id }`"></live-stream>
</template><script>
import { onMount } from 'svelte';
// realtime.js, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
let { id, title } = $props();
onMount( async () => {
// The player and the studio.
( await realtime ).streamScreen();
} );
</script>
<live-stream name="live:{ id }" { title }
token-url="/api/stream-token?id={ id }"></live-stream>import {
Component, CUSTOM_ELEMENTS_SCHEMA, Input,
} from '@angular/core';
// realtime.ts, one connection for the whole app:
// export const realtime = connect();
import { realtime } from './realtime';
@Component( {
selector: 'app-stream',
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
template: `
<live-stream [attr.name]="'live:' + id"
[attr.token-url]="'/api/stream-token?id=' + id"
[attr.title]="title"></live-stream>
`,
} )
export class StreamComponent {
@Input( { required: true } ) id!: number;
@Input( { required: true } ) title!: string;
async ngOnInit() {
// The player and the studio.
( await realtime ).streamScreen();
}
}import WordPlusRealtimeCalls
import WordPlusRealtimeUI
// Your own request to your route, asked again as tokens run out.
let stream = try await rt.joinStream {
try await api.streamToken(id: 12)
}
present(LiveStreamScreen(stream: stream, title: "Opening night"),
animated: true)import cloud.wordplus.realtime.calls.joinStream
import cloud.wordplus.realtime.ui.LiveStreamScreen
// Your own request to your route, asked again as tokens run out.
val stream = rt.joinStream(context) {
api.streamToken(id = 12)
}
LiveStreamScreen.open(activity, stream, title = "Opening night")import { LiveStreamButton } from '@wordplus/realtime-react-native';
// Your server, in full, as an app has no address of its own.
const API = 'https://app.example.com/api';
// Inside <RealtimeProvider>, once for the whole app.
export function Stream( { id, title } ) {
return (
<LiveStreamButton name={ `live:${ id }` } title={ title }
tokenUrl={ `${ API }/stream-token?id=${ id }` }>
Watch
</LiveStreamButton>
);
}import 'package:flutter/material.dart';
import 'package:wordplus_realtime/wordplus_realtime.dart';
// Your server, in full, as an app has no address of its own.
const api = 'https://app.example.com/api';
// In your build. It asks your route again as tokens run out.
LiveStreamButton(
rt: rt,
stream: 'live:12',
tokenUrl: '$api/stream-token?id=12',
title: 'Opening night',
child: const Text('Watch'),
)Live streams in each stack, with the whole setup:
Use cases
What people build with live streams
Each is a whole app in the docs, with its server in Node.js, PHP and Python.
Live events
A launch, a class, a talk or a concert, live to everyone who opens the page.
Members-only streams
A stream only the members of a club, the holders of a ticket or the students of a course may watch.
Interviews and questions on stage
Viewers raise a hand, and the host brings them on stage beside them, in the layout the host chooses.
Pricing
Priced by connections, never by messages
From $11.99 a month for 1,000 concurrent connections, billed yearly, or $14.99 billed monthly.
Viewers above your plan: $0.20 per 1,000 minutes.
One price at every resolution. Bandwidth, relays and messages are never charged, and calls between two people are included. We run our own relays and media servers, which keeps these prices low.
Priced by concurrent connections, starting from 1,000, billed monthly or yearly.
With 1,000 connections, live streams are unmetered up to 50 viewers at once, and each further 1,000 connections add 20 viewers. Above that, each extra viewer takes a credit a minute, counted only while the stream is live, and your plan adds 5,000 credits a month for each 1,000 connections.
Questions
Frequently asked
Do I need my own media server?
No. The host sends the picture to our media servers, which carry it to everyone watching. OBS and other encoders send it over WHIP. There is nothing for you to host.
Which stacks can use the live streaming SDK?
Next.js and Express, Laravel and plain PHP, Django, FastAPI and Flask, Capacitor, iOS and Android, each with a guide. A server in any other language uses the HTTP API. Flutter apps have live streams on iOS and Android, and React Native apps on iOS for now.
Can people watch without an account?
Yes. Your server makes a visitor who is not signed in a viewer, so anyone with the link watches, and signs in to write in the chat. Or keep a stream for members only, and a link passed around opens nothing.
Can I stream from OBS?
Yes. The studio gives the host an address and a key for OBS or any other encoder that sends over WHIP, and the picture from the encoder takes the place of the camera. A new key cuts off the old one.
How many people can watch?
With 1,000 connections, up to 50 viewers at once take no credits, and each further 1,000 connections add 20. Above that, each extra viewer takes a credit a minute, counted only while the stream is live.
Who keeps the chat?
The host, and anyone your server makes a moderator. They pin and delete messages, slow the chat down, mute someone for a minute up to a day, and remove someone or ban them from the stream. Your server can do all of it too, with no page open.
Can I build my own player?
Yes. The player, the chat and the studio are optional. Place each part where your page wants it, or draw the stream yourself on the SDK: the picture, the viewers, the chat and the reactions.
Can I charge for watching?
Yes. Your server decides who may watch, so a ticket or a membership opens the stream. WordPlus Cloud tells your server by webhook when each signed-in viewer starts and stops watching, counted on its own servers, so your app can bill by the view or by the minute.
Questions about your integration? Write to us: we help with the SDKs, the player and your stack.