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.
- Manual execution of shell commands for ffmpeg streaming.
- Client uploads data in base64-encoded binary format.
- Security issues with nginx-rtmp-module, currently only using "allow publish" to restrict access.
ffmpeg-publisher -h
Client request
URL: htt://server_addr/base64
Method: POST
Content-Type: text/plain
Body: audio/video base64Data
Server response
{
"errmsg": "ok",
"errcode": 0
}