removeSourceBuffer

external fun removeSourceBuffer(sourceBuffer: SourceBuffer)(source)

The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBufferList associated with this MediaSource object.

MDN Reference