Docker Image for HTTP FLV streams using Nginx
535
Docker image for a HTTP FLV server running on Nginx
This image exposes port 1935 for RTMP Steams and has 1 default channel named "live".
"live" (your stream name) with your stream key is also accessable via HTTP-FLV on port 8080, so you can use flv.js to load http://<your server ip>:8080/flv?app=live&stream=<your stream key> to watch the stream.
It also exposes 8080 so you can access http://<your server ip>:8080/stat to see the streaming statistics.
The configuration file is in /opt/nginx/conf/, more configuration details can be found at nginx-http-flv-module.
To run the container and bind the port 1935 to the host machine; run the following:
docker run -d -p 1935:1935 -p 8080:8080 lewangdev/nginx-http-flv
Start streaming, the server ip is 192.168.56.20 and the stream key is 999.

Open the stream by localhost flv.js

Content type
Image
Digest
Size
8.4 MB
Last updated
almost 5 years ago
docker pull lewangdev/nginx-http-flv