Streaming SDK for Game Developers

Add live streaming
to any game.

5 lines of code. Canvas capture, WebRTC delivery, cloud recording, and AI-powered highlights — all from one SDK.

your-game.js
import Substream from '@substream/web-sdk';

const session = await Substream.startStream({
  canvasElement: document.querySelector('canvas'),
  backendUrl: 'https://your-api.com',
  authToken: 'your-token',
});

How It Works

From integration to monetization in three steps. Works with Unity, WebGL, Phaser, Three.js, PixiJS, or any canvas-based engine.

1

Integrate the SDK

Drop a few lines of code into your web or Unity game. The SDK captures your canvas and audio, then streams via WebRTC with sub-second latency.

2

Watch, Record, Monetize

Players go live and viewers watch in real-time. Every session is automatically recorded to the cloud. Track usage and revenue from your dashboard.

3

AI Highlights

Our highlight engine analyzes recordings and generates polished highlight reels with the best moments — ready to share and drive engagement.

Built for Game Studios

In-Game Streaming

Let players broadcast gameplay directly from your game — no OBS required. Works on web and Unity.

Content & Highlights

Auto-generate highlight reels from streams. Give players shareable clips that drive organic growth.

Analytics & Revenue

Track stream hours, concurrent viewers, and engagement. Monetize with usage-based pricing or viewer subscriptions.