Skip to main content

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 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:
Box Example Gateway
This guide will install and configure a Gateway to run video & AI workloads.
Docker is the recommended install method for most users.
Choose your Gateway Mode:
1

Install Gateway Software

Pull the Docker image from Livepeer Docker Hub
2

Configure Gateway

VideoAICreate the docker-compose.yml file that defines the dual Gateway service.
fix me
See flag details below:
See Example transcoding options json below:
3

Run Gateway

4

Test Gateway

Fix me (onchain nicer)
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
The -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)
See More Metrics Options Below:
Access Prometheus metrics at:
Key metrics include:
  • livepeer_stream_created_total - Total streams created
  • livepeer_current_sessions_total - Active transcoding sessions
  • livepeer_success_rate - Transcoding success rate
  • livepeer_ai_live_attempts - AI processing attempts
  • livepeer_gateway_deposit - Current ETH deposit
CLI Monitoring CommandsCheck Gateway status:
Monitor available Orchestrators:
See all CLI options:
Run Livepeer CLI
Livepeer CLI Output
AI-Specific MonitoringFor AI workflows, the Gateway sends detailed events including:
  • Stream request events
  • Orchestrator selection info
  • Ingest metrics
  • Error events
Enhanced Monitoring OptionsAdd to your Docker Compose for more 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
Verify these
If you wanted to build a 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.

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.
Last modified on May 31, 2026