S
S
spbcypher2013-02-14 16:54:34
JavaScript
spbcypher, 2013-02-14 16:54:34

MediaSource, clipping buffer?

Question for MediaSource (WebKit) connoisseurs: how can you clear / trim the buffer (returned by the addSourceBuffer method of the MediaSource component) to free memory as it plays (now it eats very well)?
Adding a second buffer throws QUOTA_EXCEEDED_ERR: DOM Exception 22, so you can't keep two buffers and change them.
the SourceBuffer interfaces seem to have remove, but the method is not implemented.
I would like to keep the continuity of playback.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question