mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-18 09:11:08 +02:00
updated README
This commit is contained in:
parent
3c2e29f215
commit
6b5f76654c
38
README.md
38
README.md
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue