[Bug 18709] Add SourceBuffer.reset() method

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

--- Comment #2 from Aaron Colwell <acolwell@chromium.org> 2012-09-21 21:09:23 UTC ---
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.

-- 
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 21:09:25 UTC