diff --git a/index.html b/index.html index cf19f3e..5a0edd7 100644 --- a/index.html +++ b/index.html @@ -64,10 +64,11 @@ readable form
cd to NGINX source directory & run this:
-./configure --add-module=
+
+./configure --add-module=/path/to.nginx-rtmp-module
make
make install
-
+
rtmp { - server { - listen 1935; - application mytv { # enable live streaming @@ -99,7 +97,7 @@ rtmp {
+
application big {
live on;
@@ -122,10 +120,10 @@ rtmp {
live on;
# Video with reduced resolution comes here from ffmpeg
}
-
+
+
application mypush {
live on;
@@ -135,10 +133,10 @@ rtmp {
push rtmp1.example.com;
push rtmp2.example.com:1934;
}
-
+
+
application mypull {
live on;
@@ -146,24 +144,24 @@ rtmp {
# and play locally
pull rtmp://rtmp3.example.com pageUrl=www.example.com/index.html;
}
-
+
+
application vod {
play /var/flvs;
}
-
+
+
application hls {
hls on;
hls_path /tmp/app;
hls_fragment 5s;
}
}
-
+