<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] Decoder error caused by multi-SPS/PPS init segment and no sample duration"
   href="https://bugs.webkit.org/show_bug.cgi?id=160459">160459</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[MSE] Decoder error caused by multi-SPS/PPS init segment and no sample duration
          </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&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joeyparrish&#64;google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>GPAC's DASH sequences [1] cause decoder errors on Safari. For example, &quot;live profile with bitstream switching support, Audio+Video&quot; [2] and &quot;main profile, multiple files with bitstream switching support, Audio+Video&quot; [3].  (We have not exhaustively tested all sequences GPAC hosts, so there may be others.)

Shaka Player [4] is using these as test vectors to ensure compatibility with GPAC, but our tests for these fail on Safari. As far as we can tell, there are two features that make the failing GPAC vectors unique in our tests: multiple SPS/PPS in the init segments, and no sample duration.

To reproduce:

1. Open JS console
2. Navigate to <a href="http://storage.googleapis.com/shaka-demo-assets/_bugs/multiple-sps-media/index.html">http://storage.googleapis.com/shaka-demo-assets/_bugs/multiple-sps-media/index.html</a>
3. Notice the decoder error on the console

This same content works on Chrome and Firefox on Mac, so we would expect to be able to play this content on Safari as well.

[1] <a href="https://gpac.wp.mines-telecom.fr/2012/02/23/dash-sequences/">https://gpac.wp.mines-telecom.fr/2012/02/23/dash-sequences/</a>
[2] <a href="http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd">http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd</a>
[3] <a href="http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-main-multi/mp4-main-multi-mpd-AV-BS.mpd">http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-main-multi/mp4-main-multi-mpd-AV-BS.mpd</a>
[4] <a href="https://github.com/google/shaka-player">https://github.com/google/shaka-player</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>