remove

fun remove(start: Double, end: Double)(source)

The remove() method of the SourceBuffer interface removes media segments within a specific time range from the SourceBuffer.

MDN Reference