updated README

This commit is contained in:
Roman Arutyunyan 2012-08-30 17:57:00 +04:00
parent 3c2e29f215
commit 6b5f76654c

View file

@ -54,17 +54,6 @@ cd to NGINX source directory & run this:
make install
### Known issue:
The module does not share data between workers.
Because of this live streaming is only available
in one-worker mode so far. Video-on-demand has no
such limitations.
You can try auto-push branch with multi-worker
support if you really need that.
### RTMP URL format:
rtmp://rtmp.example.com/app[/name]
@ -76,6 +65,14 @@ name - interpreted by each application
can be empty
### Multi-worker live streaming
Module supports multi-worker live
streaming through automatic stream pushing
to nginx workers. This option is toggled with
rtmp_auto_push directive.
### Example nginx.conf:
rtmp {
@ -260,3 +257,22 @@ name - interpreted by each application
}
}
# Multi-worker streaming
rtmp_auto_push on;
rtmp {
server {
listen 1935;
chunk_size 4000;
# TV mode: one publisher, many subscribers
application mytv {
live on;
}
}
}