W3C home > Mailing lists > Public > public-html-media@w3.org > August 2012

[Bug 18709] New: Add SourceBuffer.flush() method

From: <bugzilla@jessica.w3.org>
Date: Mon, 27 Aug 2012 18:06:11 +0000
To: public-html-media@w3.org
Message-ID: <bug-18709-5436@http.www.w3.org/Bugs/Public/>

           Summary: Add SourceBuffer.flush() method
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
        AssignedTo: adrianba@microsoft.com
        ReportedBy: acolwell@chromium.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

This is a proposal to add a method to remove time ranges from the SourceBuffer.
append() lets the application explicitly add media to the presentation and this
would allow it to explicitly remove media.

Here is the proposed signature & some initial ideas about how it should behave.

partial interface SourceBuffer {
  void flush(TimeRanges ranges);

- If readyState is not 'open' throw an INVALID_STATE_ERR exception
- ranges.start() is inclusive & ranges.end() is exclusive (ie [0-1) ). Any
media data with a starting timestamp within this range will be removed.
- If ranges.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

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 27 August 2012 18:06:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:25 UTC