Run docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -d --name livego gnurub/livego:latest to start
rtmp://localhost:1935/live/movie through the RTMP protocol, for example, use ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/live/movie push;RTMP:rtmp://localhost:1935/live/movieFLV:http://127.0.0.1:7001/live/movie.flvHLS:http://127.0.0.1:7002/live/movie.m3u8Run to start
$ docker run -d -p 6379:6379 --name redis redis
$ docker run -it -p 1935:1935 -p 7001:7001 -p 7002:7002 -v "$(pwd)"/config:/app/config --link redis:redis gnurub/livego:latest -config-file=./config/livego.json
// config/livego.json
{
"redis_addr": "redis:6379",
"server": [
{
"appname": "live",
"liveon": "on",
"hlson": "on"
}
]
}
Content type
Image
Digest
Size
10.2 MB
Last updated
over 6 years ago
docker pull gnurub/livego