diff --git a/index.html b/index.html index cf19f3e..5a0edd7 100644 --- a/index.html +++ b/index.html @@ -64,10 +64,11 @@ readable form

Build:

cd to NGINX source directory & run this:

-./configure --add-module= +
+./configure --add-module=/path/to.nginx-rtmp-module
 make
 make install
-
+

Example nginx.conf

@@ -75,11 +76,8 @@ make install
 rtmp {
-
     server {
-
         listen 1935;
-
         application mytv {
 
             # enable live streaming
@@ -99,7 +97,7 @@ rtmp {
 

Transcoding

- +
     application big {
         live on;
 
@@ -122,10 +120,10 @@ rtmp {
         live on;
         # Video with reduced resolution comes here from ffmpeg
     }
-
+

Pushing stream

- +
     application mypush {
         live on;
 
@@ -135,10 +133,10 @@ rtmp {
         push rtmp1.example.com;
         push rtmp2.example.com:1934;
     }
-
+

Pulling stream

- +
     application mypull {
         live on;
 
@@ -146,24 +144,24 @@ rtmp {
         # and play locally
         pull rtmp://rtmp3.example.com pageUrl=www.example.com/index.html;
     }
-
+

Video on demand

- +
     application vod {
         play /var/flvs;
     }
-
+

HLS (HTTP Live Streaming)

- +
     application hls {
         hls on;
         hls_path /tmp/app;
         hls_fragment 5s;
     }
 }
-
+

>Donation: