xushiting 3 năm trước cách đây
mục cha
commit
4eee6b53ba
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      src/XTelevision.js
  2. 1 0
      src/v2Decoder/index.js

+ 1 - 1
src/XTelevision.js

@@ -44,7 +44,7 @@ export default class XTelevision {
         return this.tvMeshs
     }
     createElement(e, t=!1) {
-        const n = new Stream$1().el;
+        const n = new Stream().el;
         return n.loop = t,
         n.autoplay = !0,
         n.src = e,

+ 1 - 0
src/v2Decoder/index.js

@@ -509,6 +509,7 @@ if ("function" === typeof importScripts) {
   };
 
   Decoder.prototype.flushBuffer = function (untilIDR) {
+    console.log('Work-IT2:flushBuffer');
     this.dumpJitterBufInfo("Entering Decoder.prototype.flushBuffer");
     this.skipFrameUntilI = true;
     var breakWhenIDR = false;