Coder Social home page Coder Social logo

livego's Introduction

livego

简单高效的直播服务器:

  • 安装和使用非常简单;
  • 纯 Golang 编写,性能高,跨平台;
  • 支持常用的传输协议、文件格式、编码格式;

支持的传输协议

  • RTMP
  • AMF
  • HLS
  • HTTP-FLV

支持的容器格式

  • FLV
  • TS

支持的编码格式

  • H264
  • AAC
  • MP3

安装

直接下载编译好的二进制文件后,在命令行中执行。

从源码编译

  1. 下载源码 git clone https://github.com/gwuhaolin/livego.git
  2. 去 livego 目录中 执行 go build

使用

  1. 启动服务:执行 livego 二进制文件启动 livego 服务;
  2. 上行推流:通过 RTMP 协议把视频流推送到 rtmp://localhost:1935/live/movie,例如使用 ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/live/movie 推送;
  3. 下行播放:支持以下三种播放协议,播放地址如下:
    • 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

对Golang感兴趣?请看Golang 中文学习资料汇总

livego's People

Contributors

gwuhaolin avatar ipv4sec avatar runner365 avatar

Watchers

James Cloos avatar UM404 avatar  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.