huangxiaojing 4 years ago
parent
commit
c89fbc02cb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      screenIos/WXtrialInterface.html

+ 3 - 0
screenIos/WXtrialInterface.html

@@ -425,6 +425,9 @@
 				case 0:
 				case 0:
 					break;
 					break;
 				case 1:
 				case 1:
+					if (decodeCount < 3) {
+						return
+					}
 					webglPlayer.renderFrame(objData.data, 720, 1280, 720 * 1280, (720 / 2) * (1280 / 2));
 					webglPlayer.renderFrame(objData.data, 720, 1280, 720 * 1280, (720 / 2) * (1280 / 2));
 					$('.weui-mask_transparent').hide()
 					$('.weui-mask_transparent').hide()
 					$('.weui-toast').hide()
 					$('.weui-toast').hide()