Let’s Go(-Livepeer) !
This page will get you up & running with a Livepeer Gateway Node for Video Transcoding & AI Pipeline service routing. This guide includes:- Setup for on-chain (production) and off-chain (local/dev) Livepeer Gateway nodes
- Installation guides for Docker (recommended) and Pre-Built Binaries.
Docker Quickstart Guide
Docker Supported Hosts Details
Docker Supported Hosts Details
Docker OS Support for Livepeer Gateway
Docker supports running Livepeer Gateway nodes on Linux, macOS, and Windows with different architecture support and feature limitations.Supported Platforms
NVIDIA drivers are not a baseline requirement for a Gateway. They are only
required when the same host is also running GPU workloads such as an
Orchestrator or AI worker.
Implementation Details
Docker Build Configuration
The Dockerfile uses a multi-stage build with CUDA base images for GPU support. The build process supports cross-compilation for multiple architectures.Build Matrix
The CI/CD pipeline builds for:- Linux amd64/arm64 (CPU and GPU variants)
- macOS amd64/arm64 (CPU only)
- Windows amd64 (CPU only)
Cross-Compilation Support
The Makefile includes cross-compilation configuration for different platforms:- Darwin (macOS) with Intel and Apple Silicon
- Linux with x86_64 and ARM64
- Windows x86_64
GPU Limitations
GPU transcoding is Linux only . The Docker images include NVIDIA CUDA support but this only works on Linux hosts.Notes
- ARM64 Docker images are built but note that ARM64 support is still experimental
- For production use, Linux is recommended for full feature support
- macOS and Windows support is primarily for development and testing
- The box development environment supports both Linux and macOS:
- Off-Chain Gateway
- On-Chain Gateway
1
Install Gateway Software
Pull the Docker image from Livepeer Docker Hub
2
Configure Gateway
VideoAICreate the
See flag details below:See Example transcoding options json below:
docker-compose.yml file that defines the dual Gateway service. fix me
Transcoding Options Example
Transcoding Options Example
3
Run Gateway
4
Test Gateway
Fix me (onchain nicer)
- Video
- AI
Send a video stream to the Gateway:From a host terminal (not in Docker or Volume), run this command:After streaming, check the HLS playback output:Tips:
- Replace localhost with your Gateway’s IP if running remotely
- The stream name (test) becomes part of the HLS playback URL
5
Monitor Gateway
Needs Review
-monitor=true flag in the docker-compose.yml already has basic monitoring enabled which exposes metrics in Prometheus format at http://localhost:8935/metrics.Metrics collected include:- Stream metrics (created, started, ended)
- Transcoding metrics (success rate, latency)
- Payment metrics (tickets sent, deposits)
- AI-specific metrics (attempts, Orchestrators available)
Prometheus Metrics
Prometheus Metrics
Access Prometheus metrics at:Key metrics include:
livepeer_stream_created_total- Total streams createdlivepeer_current_sessions_total- Active transcoding sessionslivepeer_success_rate- Transcoding success ratelivepeer_ai_live_attempts- AI processing attemptslivepeer_gateway_deposit- Current ETH deposit
CLI Monitoring Commands
CLI Monitoring Commands
CLI Monitoring CommandsCheck Gateway status:Monitor available Orchestrators:See all CLI options:
Run Livepeer CLI
Livepeer CLI Output
AI-Specific Monitoring
AI-Specific Monitoring
AI-Specific MonitoringFor AI workflows, the Gateway sends detailed events including:
- Stream request events
- Orchestrator selection info
- Ingest metrics
- Error events
Enhanced Monitoring Options
Enhanced Monitoring Options
Enhanced Monitoring OptionsAdd to your Docker Compose for more monitoring:
Log Monitoring
Log Monitoring
Log MonitoringMonitor logs in real-time:Look for key events:
- “Received live video AI request”
- “Orchestrator selected”
- “Transcoding completed”
- Payment processing events
6
Gateway Tips
See all available config flags:Useful CLI Commands
Docker Tips & Tricks
Docker Tips & Tricks
Verify these
go-livepeer Docker image, you can do so from the root of the repository using this:Reference Pages
Docker Installation Guide
View Full Installation Guide
Configuration Flags Reference
Gateway Configuration Flag Guide
End-to-end test loop with an Orchestrator
Use this loop after both your Gateway and Orchestrator are online.1
Confirm orchestrator endpoint and capabilities
Verify your Orchestrator is reachable on
:8935 and advertises transcoding
support.2
Configure gateway routing to that orchestrator
In off-chain mode, point the Gateway directly with:
3
Ingest a test stream through the gateway
Use the quickstart ingest flow (FFmpeg or OBS), then fetch the generated HLS
manifest from the Gateway.
4
Validate logs on both nodes
Confirm the Gateway logs show route selection and the Orchestrator logs show
session creation/completion for the same stream.
Transcoding Orchestrator Quickstart
Use this guide for Orchestrator-side setup, registration, and verification.
Troubleshooting
Common Issues
Review common troubleshooting issues and fixes.
Related Pages
Setup Checklist
See Prerequisites & Requirements.
On-Chain Setup
See on-chain Setup Checklist.
Run a Gateway
See full Gateway Setup Guide.
Orchestrator Guide
Setup an Orchestrator.