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 │
└─────────────────────────────────────────────────────────────────┘Quick Links
| Task | Guide |
|---|---|
| Push stream from OBS | RTMP Streaming |
| Play stream in browser | HLS Playback |
| Handle CDN failover | Multi-CDN |
| Receive stream events | Webhooks |