From 2c8595da2563a0f7cd0303607926b9330013781e Mon Sep 17 00:00:00 2001 From: iotcat Date: Wed, 15 Jan 2020 20:52:04 +0000 Subject: [PATCH] auto swi qua --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 4419ed2..cc1b2f7 100644 --- a/index.html +++ b/index.html @@ -143,6 +143,7 @@ waitEvent(); dp.notice("监测到卡顿,切换片源"); options.video.defaultQuality = (options.video.defaultQuality >= options.video.quality.length - 1) ? 0 : options.video.defaultQuality+1; + console.log('Switch quality to ' + options.video.defaultQuality); dp.switchQuality(options.video.defaultQuality); } }