@@ -681,7 +681,7 @@
case 0:
break;
case 1:
- if (renderCount++ < 3 || !isAudioPlay) {
+ if (renderCount++ < 4 || !isAudioPlay) {
return
}
webglPlayer.renderFrame(objData.data, 720, 1280, 720 * 1280, (720 / 2) * (1280 / 2));
@@ -714,7 +714,7 @@
webSocketWorker.onmessage = function (event) {
var input = event.data;
- if (input[0] == 0xff && isAudioPlay && renderCount >= 3) {
+ if (input[0] == 0xff && isAudioPlay && renderCount >= 4) {
decodeAAC(input);
if (input[0] == 0 && input[1] == 0 && input[2] == 0 && input[3] == 1) {