gemercheung 3 years ago
parent
commit
5b030cf885
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/h264Decoder/VDecoder.js

+ 4 - 4
src/h264Decoder/VDecoder.js

@@ -52,10 +52,10 @@ export class VDecoder extends EventEmitter {
           //   "[VDecoder]::decodeData",
           //   Object.assign(message, { clipId: this.decodingId })
           // );
-          // this.emit(
-          //   "decodeData",
-          //   Object.assign(message, { clipId: this.decodingId })
-          // );
+          this.emit(
+            "decodeData",
+            Object.assign(message, { clipId: this.decodingId })
+          );
 
           if (this.decoding && this.decodingId) {
             this.decodeNext(this.decodingId);