Chrome throws DOMException (Failed to execute 'appendBuffer' on 'SourceBuffer': This SourceBuffer is still processing an 'appendBuffer' or 'remove' operation.) when we try to call appendBuffer while sourceBuffer.updating is true.
Somehow it can be true even when we are in the updateend handler.
Chrome throws
DOMException
(Failed to execute 'appendBuffer' on 'SourceBuffer': This SourceBuffer is still processing an 'appendBuffer' or 'remove' operation.
) when we try to callappendBuffer
whilesourceBuffer.updating
istrue
.Somehow it can be
true
even when we are in theupdateend
handler.