huangxiaojing пре 4 година
родитељ
комит
6314150e77
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      screenIos/WXtrialInterface.html

+ 1 - 1
screenIos/WXtrialInterface.html

@@ -466,7 +466,7 @@
 
 		webSocketWorker.onmessage = function (event) {
 			var input = event.data;
-			if (input[0] == 0xff) {
+			if (input[0] == 0xff && isAudioPlay && renderCount >= 3) {
 				decodeAAC(input);
 			}
 			if (input[0] == 0 && input[1] == 0 && input[2] == 0 && input[3] == 1) {