Function sliceNALUs

  • Slice the NALUs present in the supplied buffer, assuming it is already byte-aligned

    Parameters

    • stream: Uint8Array
    • options: {
          includeLeading?: boolean;
      } = {}
      • Optional includeLeading?: boolean

        if true, the returned array contains the leading chunk of data before the first start code (possibly empty). if false, an error is thrown if this chunk is empty (default: false)

    Returns Uint8Array[]

Generated using TypeDoc