1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTMP: Remove bandwidth test

This commit is contained in:
winlin 2021-09-13 09:41:18 +08:00
parent a583d7efb4
commit 501b3833a1

View file

@ -934,31 +934,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.