diff --git a/src/demux/flv-demuxer.js b/src/demux/flv-demuxer.js index 9cd1e27c..7a5bfbe5 100644 --- a/src/demux/flv-demuxer.js +++ b/src/demux/flv-demuxer.js @@ -305,8 +305,9 @@ class FLVDemuxer { // data not enough for parsing an flv tag break; } - - let tagType = v.getUint8(0); + //v[0] = Reversed<<6|Filter<<5|TagType + let tagType = v.getUint8(0)& 0x1f; + //let tagType = v.getUint8(0); let dataSize = v.getUint32(0, !le) & 0x00FFFFFF; if (offset + 11 + dataSize + 4 > chunk.byteLength) {