Skip to content

huanxuantian/docker-nginx-http-flv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-nginx-http-flv

Docker image for a HTTP FLV server running on Nginx

Configurations

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.

Running

Docker Container

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

OBS

Start streaming, the server ip is 192.168.56.20 and the stream key is 999

OBS

flv.js

Open the stream via flv.js

flv.js

Feedback

GitHub Issues

About

Docker Image for HTTP FLV streams using Nginx

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 98.1%
  • Shell 1.9%