Code Monkey home page Code Monkey logo

livego's Introduction

什么是livego

livego是基于golang开发的rtmp服务器


为什么基于golang

  • golang在语言基本支持多核CPU均衡使用,支持海量轻量级线程,提高其并发量

    当前开源的缺陷:
    • srs只能运行在一个单核下,如果需要多核运行,只能启动多个srs监听不同的端口来提高并发量;
    • ngx-rtmp启动多进程后,报文在多个进程内转发,需要二次开发,否则静态推送到多个子进程,效能消耗大;

      golang在语言级别解决了上面多进程并发的问题。
  • 二次开发简洁快速

    golang的开发效率远远高过C/C++

livego支持哪些特性

  • rtmp 推流,拉流
  • 支持hls观看
  • 支持http-flv观看
  • 支持gop-cache缓存
  • 静态relay支持:支持静态推流,拉流
  • 统计信息支持:支持http在线查看流状态
  •  支持直播云导播台功能

rtmp配置指引

livego的rtmp配置是基于json格式,简单好用。
{
"listen": 1935,
"hls": "enable",
"servers":[
{
"servername":"live"
}
]
}

wiki指导

wiki地址:https://github.com/runner365/livego/wiki

livego's People

Contributors

runner365 avatar

Watchers

 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.