Removes a source buffer from the MediaSource object.
Important This method is not supported in Internet Explorer 11 on Windows 7.
- sourceBuffer [in]
The source buffer to remove.
This method does not return a value.
This method is used to periodically clean up buffers that have already played. IE11 does an automatic garbage collection when the memory taken by buffers reaches approximately 200mb per audio or video buffer. However, it is a better practice to manage used buffers as you go along.