8000 GitHub - nmakhotkin/livego: 纯 Go 写的直播服务器
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nmakhotkin/livego

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

livego

Simple and efficient live server:

  • Installation and use is very simple;
  • Pure Golang writing, high performance, cross-platform;
  • Support common transmission protocols, file formats, and encoding formats;

Supported transport protocols

  • RTMP
  • AMF
  • HLS
  • HTTP-FLV

Supported container formats

  • FLV
  • TS

Supported encoding formats

  • H264
  • AAC
  • MP3

Installation

Directly download the compiled [binary file] (https://github.com/gwuhaolin/livego/releases) and execute it on the command line.

Compiling from source

  1. Download the source git clone https://github.com/gwuhaolin/livego.git
  2. Go to the livego directory and execute go build

Use

  1. Start the service: execute the livego binary to start the livego service;
  2. Upstream Push: Push the video stream to rtmp://localhost:1935/live/movie via the RTMP protocol, for example using ffmpeg -re -i demo.flv -c copy -f flv rtmp:/ /localhost:1935/live/movie push;
  3. Downstream playback: The following three playback protocols are supported. The playback address is as follows:     - RTMP:rtmp://localhost:1935/live/movie     - FLV:http://127.0.0.1:7001/live/movie.flv     - HLS:http://127.0.0.1:7002/live/movie.m3u8

Interested in Golang? Please see [Golang Chinese Learning Materials Summary] (http://go.wuhaolin.cn/)

About

纯 Go 写的直播服务器

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%
0