diff --git a/src/core/WebmBase.js b/src/core/WebmBase.js index 6e2bcf4..030e188 100644 --- a/src/core/WebmBase.js +++ b/src/core/WebmBase.js @@ -142,6 +142,7 @@ class WebmBaseDemuxer extends Transform { } if (ebmlID === '63a2') { this._checkHead(data); + this.emit('head', data); } else if (ebmlID === 'a3') { if (!this._track) throw Error('No audio track in this webm!'); if ((data[0] & 0xF) === this._track.number) {