mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #372, support transform vhost of edge 2.0.155.
This commit is contained in:
parent
4d98cbb965
commit
17c0a5c470
7 changed files with 91 additions and 8 deletions
|
@ -284,6 +284,17 @@ vhost same.edge.srs.com {
|
|||
token_traverse off;
|
||||
}
|
||||
|
||||
# vhost for edge, edge transform vhost to fetch from another vhost.
|
||||
vhost transform.edge.srs.com {
|
||||
mode remote;
|
||||
origin 127.0.0.1:1935;
|
||||
# the vhost to transform for edge,
|
||||
# to fetch from the specified vhost at origin,
|
||||
# if not specified, use the current vhost of edge in origin, the variable [vhost].
|
||||
# default: [vhost]
|
||||
vhost same.edge.srs.com;
|
||||
}
|
||||
|
||||
# vhost for dvr
|
||||
vhost dvr.srs.com {
|
||||
# dvr RTMP stream to file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue