[media-source] Potential interop problems around appendBuffer()->QuotaExceededError

wolenetz has just created a new issue for https://github.com/w3c/media-source:

== Potential interop problems around appendBuffer()->QuotaExceededError ==
While Chrome, Firefox and Edge all appear to support pushing back on the web app and yielding a QuotaExceededError exception when coded frame eviction doesn't evict enough to make room for the appendBuffer() being attempted, Safari does not.

>From comment https://trac.webkit.org/changeset/172657/webkit, it appears there may be some lurking interop issue. Comment from that change:

> For now we DO NOT throw a QUOTA_EXCEEDED_ERR when we are not able to free up enough
> space to remain below the prescribed quota, because some big name, widely deployed, 
> code bases ignore the error and continue appending data as though the failed append
> succeeded, leading to a corrupted bitstream and failure to play.

@eric-carlson, @jernoble - In case there indeed is some lurking interop issue and not just an implementation issue, I've filed this spec bug. Please comment, especially if there is some blocking issue with how this is spec'ed.


Please view or discuss this issue at https://github.com/w3c/media-source/issues/201 using your GitHub account

Received on Thursday, 12 October 2017 17:15:37 UTC