mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-26 15:28:58 +02:00
updated readme
This commit is contained in:
parent
831823a772
commit
1b5e19d4e7
23
README.md
23
README.md
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
* Live streaming of video/audio
|
* RTMP/HLS/MPEG-DASH live streaming
|
||||||
|
|
||||||
* Video on demand FLV/MP4,
|
* RTMP Video on demand FLV/MP4,
|
||||||
playing from local filesystem or HTTP
|
playing from local filesystem or HTTP
|
||||||
|
|
||||||
* Stream relay support for distributed
|
* Stream relay support for distributed
|
||||||
|
@ -36,8 +36,6 @@
|
||||||
|
|
||||||
* Online transcoding with FFmpeg
|
* Online transcoding with FFmpeg
|
||||||
|
|
||||||
* HLS (HTTP Live Streaming) support
|
|
||||||
|
|
||||||
* HTTP callbacks (publish/play/record/update etc)
|
* HTTP callbacks (publish/play/record/update etc)
|
||||||
|
|
||||||
* Running external programs on certain events (exec)
|
* Running external programs on certain events (exec)
|
||||||
|
@ -256,10 +254,16 @@ rtmp_auto_push directive.
|
||||||
application hls {
|
application hls {
|
||||||
live on;
|
live on;
|
||||||
hls on;
|
hls on;
|
||||||
hls_path /tmp/app;
|
hls_path /tmp/hls;
|
||||||
hls_fragment 5s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# MPEG-DASH is similar to HLS
|
||||||
|
|
||||||
|
application dash {
|
||||||
|
live on;
|
||||||
|
dash on;
|
||||||
|
dash_path /tmp/dash;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -292,10 +296,13 @@ rtmp_auto_push directive.
|
||||||
application/vnd.apple.mpegurl m3u8;
|
application/vnd.apple.mpegurl m3u8;
|
||||||
video/mp2t ts;
|
video/mp2t ts;
|
||||||
}
|
}
|
||||||
alias /tmp/app;
|
root /tmp;
|
||||||
expires -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /dash {
|
||||||
|
# Serve DASH fragments
|
||||||
|
root /tmp;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
HLS is now a part of rtmp module
|
|
Loading…
Reference in a new issue