Skip to content

xialeistudio/go-rtmp-http-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP -> RTMP Streaming Proxy

中文文档

An RTMP streaming proxy developed based on HTTP and ffmpeg, solving the problem of not being able to stream normal HTTP audio/video directly to an RTMP server.

ffmpeg installation is required for proper usage.

Problem solved

  1. Manual execution of shell commands for ffmpeg streaming.
  2. Client uploads data in base64-encoded binary format.
  3. Security issues with nginx-rtmp-module, currently only using "allow publish" to restrict access.

Program parameters

ffmpeg-publisher -h

Example

Client request

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

Server response

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages