mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
Squash: Merge SRS 4.0
This commit is contained in:
parent
a830289d97
commit
28e3a1ca69
1 changed files with 0 additions and 25 deletions
|
@ -946,31 +946,6 @@ vhost refer.anti_suck.com {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# vhost for bwt(bandwidth check)
|
|
||||||
# generally, the bandcheck vhost must be: bandcheck.srs.com,
|
|
||||||
# or need to modify the vhost of client.
|
|
||||||
vhost bandcheck.srs.com {
|
|
||||||
enabled on;
|
|
||||||
chunk_size 65000;
|
|
||||||
# bandwidth check config.
|
|
||||||
bandcheck {
|
|
||||||
# whether support bandwidth check,
|
|
||||||
# default: off.
|
|
||||||
enabled on;
|
|
||||||
# the key for server to valid,
|
|
||||||
# if invalid key, server disconnect and abort the bandwidth check.
|
|
||||||
key "35c9b402c12a7246868752e2878f7e0e";
|
|
||||||
# the interval in seconds for bandwidth check,
|
|
||||||
# server do not allow new test request.
|
|
||||||
# default: 30
|
|
||||||
interval 30;
|
|
||||||
# the max available check bandwidth in kbps.
|
|
||||||
# to avoid attack of bandwidth check.
|
|
||||||
# default: 1000
|
|
||||||
limit_kbps 4000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# the security to allow or deny clients.
|
# the security to allow or deny clients.
|
||||||
vhost security.srs.com {
|
vhost security.srs.com {
|
||||||
# security for host to allow or deny clients.
|
# security for host to allow or deny clients.
|
||||||
|
|
Loading…
Reference in a new issue