Git Product home page Git Product logo

go-rtmp-http-publisher's Introduction

HTTP->RTMP推流Proxy

基于http+ffmpeg开发的RTMP推流代理,解决普通HTTP音/视频无法直接推流到RTMP服务器问题

需要安装ffmpeg才能正常使用

解决的问题

  1. ffmpeg推流需要手动执行shell命令
  2. 客户端上传的数据为base64编码过的二进制数据
  3. nginx-rtmp-module安全问题,目前只会使用allow publish来限制

程序参数

ffmpeg-publisher -h

HTTP推流

客户端请求

Url: htt://server_addr/base64
Method: POST
Content-Type: text/plain
Body: audio/video base64Data

服务端响应

{
  "errmsg":"ok",
  "errcode":0
}

go-rtmp-http-publisher's People

Contributors

xialeistudio 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.