The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser.
abort()
MDN Reference