Coder Social home page Coder Social logo

livego's Introduction

Test

Simple and efficient live broadcast server:

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

Supported transport protocols

  • RTMP
  • AMF
  • HLS
  • HTTP-FLV

Supported container formats

  • FLV
  • TS

Supported encoding formats

  • H264
  • AAC
  • sMP3

Installation

After directly downloading the compiled binary file, execute it on the command line.

Boot from Docker

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

Compile from source

  1. Download the source code 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 file to start the livego service;
  2. Upstream push: Push the video stream to rtmp://localhost:1935/live/movie through the RTMP protocol, for example, use 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, and 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

livego's People

Contributors

gnurub avatar gwuhaolin avatar dkingalpha avatar sjqzhang avatar ipv4sec avatar junboli-ray avatar runner365 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.