Skip to content

Integration Guides

Comprehensive guides for integrating Lunar Stream into your applications.

Available Guides

RTMP Streaming

Configure OBS, FFmpeg, and mobile apps to push RTMP streams.

HLS Playback

Integrate HLS players into web and mobile applications.

Multi-CDN Setup

Understand and utilize multiple CDN endpoints for redundancy.

Webhooks

Handle stream events with push-auth webhooks.

Integration Architecture

┌─────────────────────────────────────────────────────────────────┐
│                     YOUR APPLICATION                             │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│  ┌─────────────┐         ┌─────────────┐         ┌───────────┐ │
│  │ Your Backend│         │ Broadcaster │         │  Viewer   │ │
│  │   Server    │         │   (OBS)     │         │   App     │ │
│  └──────┬──────┘         └──────┬──────┘         └─────┬─────┘ │
│         │                       │                      │        │
└─────────┼───────────────────────┼──────────────────────┼────────┘
          │                       │                      │
          │ API Key               │ RTMP                 │ HLS
          │                       │                      │
┌─────────┼───────────────────────┼──────────────────────┼────────┐
│         ▼                       ▼                      ▼        │
│  ┌─────────────┐         ┌─────────────┐         ┌───────────┐ │
│  │ Lunar Stream│         │   Media     │         │    CDN    │ │
│  │     API     │────────▶│   Server    │────────▶│  Network  │ │
│  └─────────────┘         └─────────────┘         └───────────┘ │
│                                                                  │
│                     LUNAR STREAM PLATFORM                        │
└─────────────────────────────────────────────────────────────────┘
TaskGuide
Push stream from OBSRTMP Streaming
Play stream in browserHLS Playback
Handle CDN failoverMulti-CDN
Receive stream eventsWebhooks

Released under the MIT License.