From cef7ec79b348fc7404306af01f3fe88f282b99a1 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 18 Dec 2019 11:50:43 +0800 Subject: [PATCH] Detect whether flash enabled for srs-bwt. --- trunk/conf/full.conf | 2 +- trunk/research/players/srs_bwt.html | 120 ++++++++++++++++++++-------- trunk/src/app/srs_app_bandwidth.cpp | 53 ++++++------ trunk/src/app/srs_app_bandwidth.hpp | 16 ++-- 4 files changed, 123 insertions(+), 68 deletions(-) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index c8d041144..e706aed5c 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -665,7 +665,7 @@ vhost refer.anti_suck.com { } } -# vhost for bandwidth check +# 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 { diff --git a/trunk/research/players/srs_bwt.html b/trunk/research/players/srs_bwt.html index c91116986..746414aaa 100644 --- a/trunk/research/players/srs_bwt.html +++ b/trunk/research/players/srs_bwt.html @@ -35,39 +35,54 @@
-
- - Usage: 点击“开始测速”即可测带宽,最大可测试带宽由服务器限制 +
+
+ + Usage: + + 请点击下面的图标,启用Flash + +
+
+
-
- URL: - - -
-