removeSourceBuffer method

void removeSourceBuffer(
  1. SourceBuffer sourceBuffer
)

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

Implementation

external void removeSourceBuffer(SourceBuffer sourceBuffer);