selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
livego logo

Self-host livego

0.0.20

RTMP live streaming server with HLS and HTTP-FLV playback

BetaOpen SourceMIT
docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -p 8090:8090 -d gwuhaolin/livego
Updated11 months ago
LanguageGo
Setup difficultyEasy
Stars
10 183
Ports
1935 (RTMP server listen address (RTMP_PORT in the container)), 7001 (HTTP-FLV server listen address (HTTP_FLV_PORT in the container)), 7002 (HLS server listen address (HLS_PORT in the container)), 8090 (HTTP management/API interface (HTTP_OPERATION_PORT in the container))
Docker
gwuhaolin/livego

What is livego?

LiveGo is a live broadcast server written in Go that gives you your own streaming ingest and playback endpoint. It accepts an RTMP push into an app/room (the default appname is live) and serves that stream back over RTMP, HTTP-FLV on port 7001 and HLS on port 7002, working with FLV and TS containers carrying H.264, AAC or MP3 tracks. A small HTTP management interface on port 8090 hands out the channel key used when pushing. Settings live in livego.yaml or on the command line and cover log level, read/write timeouts, GOP count, FLV archiving, keeping HLS output after a stream ends, RTMPS with your own certificate, and serving HLS over HTTPS. Deploying it means a single artifact: a release binary, the gwuhaolin/livego container, or go build from the cloned source. The project is MIT-licensed and still on 0.0.x version tags; its documentation is the README plus a Chinese companion, with usage notes in the author's blog.

Should you self-host livego?

livego scores 60/100 on selfhost.directory (how scoring works) and ranks #5 of 38 in Video Streaming. It has 10 183 GitHub stars, -1 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is iSponsorBlockTV (73/100, 7 076 stars). It scores higher overall, so compare the two before you pick. See livego vs iSponsorBlockTV side by side.

Features

  • AMF protocol support
  • Channel key API
  • Cross-platform single binary
  • FLV and TS container support
  • H.264 / AAC / MP3 codec support
  • HLS over HTTPS
  • HLS Streaming
  • HTTP-FLV streaming
  • Keep HLS after stream end
  • RTMP Ingest
  • RTMP over TLS (RTMPS)
  • RTMP playback
  • Stream recording to FLV files

livego README

中文

Test Release CodeQL Advanced

Simple and efficient live broadcast server:

  • Very simple to install and use;
  • Pure Golang, high performance, and cross-platform;
  • Supports commonly used transmission protocols, file formats, and encoding formats;

How to install livego

Install livego with Docker

Environment variables
RTMP_PORT, HTTP_FLV_PORT, HLS_PORT, HTTP_OPERATION_PORT

Run docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -p 8090:8090 -d gwuhaolin/livego to start

How to configure livego

  • --api_addr:8090HTTP manage interface server listen address

    values: host:port

  • --config_filelivego.yamlConfigure filename
  • --flv_dirtmpOutput flv file at flvDir/APP/KEY_TIME.flv
  • --gop_num1GOP number
  • --hls_addr:7002HLS server listen address

    values: host:port

livego releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Video Streaming

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…