This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21171 - Add an example of when addSourceBuffer might throw QUOTA_EXCEEDED_ERR
Summary: Add an example of when addSourceBuffer might throw QUOTA_EXCEEDED_ERR
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Aaron Colwell (c)
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 00:38 UTC by Adrian Bateman [MSFT]
Modified: 2013-03-05 17:26 UTC (History)
3 users (show)

See Also:


Attachments

Description Adrian Bateman [MSFT] 2013-03-02 00:38:50 UTC
Step 3 of the addSourceBuffer algorithm says: "If the user agent can't handle any more SourceBuffer objects then throw a QUOTA_EXCEEDED_ERR exception and abort these steps."

We would like to add an informative note describing what we think will be a common restriction in initial implementations:

"For example, a user agent may throw QUOTA_EXCEEDED_ERR if the media element has reached the HAVE_METADATA readyState."

Today, many media engines expect to process all the metadata for a presentation at the beginning before indicating they have all the metadata. Allowing dynamic changes to this will require more work.
Comment 1 Aaron Colwell (c) 2013-03-05 17:26:48 UTC
Changes committed.
https://dvcs.w3.org/hg/html-media/rev/dcd406812201