[Webkit-unassigned] [Bug 159230] New: Cannot clear a MediaSource SourceBuffer in Safari 9 and WebKit nightly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 28 15:04:36 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159230

            Bug ID: 159230
           Summary: Cannot clear a MediaSource SourceBuffer in Safari 9
                    and WebKit nightly
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joeyparrish at google.com

Shaka Player (https://github.com/google/shaka-player) discovered that Safari does not completely remove buffered ranges.

In our test, we append 30 seconds of data (from 0 to about 30s), then remove from 0 to 60.  Even though this removal encompasses all data in buffer, Safari leaves behind a tiny buffered range (less than 1 trillionth of a second).  This causes confusion in MSE apps like ours which make decisions based on where the end of the buffer is.

To reproduce:

1. Visit http://storage.googleapis.com/shaka-demo-assets/_bugs/safari-mse-clear/index.html in Safari
2. Open the JavaScript console
3. Observe information about the steps that were taken

In Chrome, Firefox, Opera, Edge, and IE 11, the result is that nothing is buffered after removing the range from 0-60.

In Safari 9, the result is that there is still a buffered range.  You will see a failed assertion in the console after loading our test page.

OS X El Capitan, Safari 9.0.3 (11601.4.4) and in WebKit nightly r202569.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160628/2f5533c1/attachment-0001.html>


More information about the webkit-unassigned mailing list