[Bug 18709] Add SourceBuffer.remove() method

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18709

--- Comment #3 from Aaron Colwell <acolwell@chromium.org> 2012-09-21 22:22:39 UTC ---
(In reply to comment #2)
> Good points. How about this?
> 
> partial interface SourceBuffer {
>   void reset(double start, double end);
> };
> 
> - If readyState is not 'open' throw an INVALID_STATE_ERR exception
> - start is inclusive & end is exclusive (ie [0-1) ). Any
> media data with a starting timestamp within this range will be removed.
> - If end is in the middle of a group of pictures(GOP), everything
> between end and the end of the GOP will be removed.
> - If the beginning of a GOP is inside a range, then the whole GOP will be
> removed.

Make that remove() not reset()

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 21 September 2012 22:22:40 UTC