<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [MSE] SourceBuffer abort() causes decoder failure"
href="https://bugs.webkit.org/show_bug.cgi?id=160316">160316</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[MSE] SourceBuffer abort() causes decoder failure
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Media Elements
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>joeyparrish@google.com
</td>
</tr></table>
<p>
<div>
<pre>Shaka Player (<a href="https://github.com/google/shaka-player">https://github.com/google/shaka-player</a>) discovered that calling abort() on Safari's SourceBuffer causes a decoder error.
In our test, we append several segments, then call abort() and append several more. The abort() call should reset the decoder's timestamp, but instead causes a complete failure.
To reproduce:
1. Visit <a href="http://storage.googleapis.com/shaka-demo-assets/_bugs/safari-abort/index.html">http://storage.googleapis.com/shaka-demo-assets/_bugs/safari-abort/index.html</a> in Safari
2. Open the JavaScript console
3. Observe failures instead of playback
In Chrome, Firefox, Opera, Edge, and IE 11, the result is that the video plays.
In Safari 9, nothing plays and there are several errors in the JS console:
MSE OPERATION FAILED
VIDEO ERROR - MediaError {code: 3}
EXCEPTION - Error: InvalidStateError: DOM Exception 11
OS X El Capitan, Safari 9.0.3 (11601.4.4) and in WebKit nightly r203816.
I'm not sure, but this may be a duplicate of <a class="bz_bug_link
bz_status_NEW "
title="NEW - [MSE][Mac] In SourceBufferPrivateAVFObjC::abort(), support reseting parser to the last appended initialization segment."
href="show_bug.cgi?id=135164">https://bugs.webkit.org/show_bug.cgi?id=135164</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>