mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
Live: Refine edge cluster to support FLV.
This commit is contained in:
parent
5e12fceaba
commit
c574ab6465
2 changed files with 19 additions and 1 deletions
|
@ -7,9 +7,18 @@ max_connections 1000;
|
|||
pid objs/edge.pid;
|
||||
daemon off;
|
||||
srs_log_tank console;
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
cluster {
|
||||
mode remote;
|
||||
origin 127.0.0.1:19350;
|
||||
}
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,5 +7,14 @@ max_connections 1000;
|
|||
pid ./objs/origin.pid;
|
||||
daemon off;
|
||||
srs_log_tank console;
|
||||
vhost __defaultVhost__ {
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8081;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue