parseAvcNalus(pes, nextPes) {
    shaka.Deprecate.deprecateFeature(5,
        'TsParser.parseAvcNalus',
        'Please use parseNalus function instead.');
    const lastInfo = {
      nalu: null,
      state: null,
    };
    return this.parseNalus(pes, lastInfo);
  }
Parse AVC Nalus

The code is based on hls.js
Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts

@param {shaka.extern.MPEG_PES} pes
@param {?shaka.extern.MPEG_PES=} nextPes
@return {!Array<shaka.extern.VideoNalu>}
@export