<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 - Safari fails bitstream switching of video streams under MSE if the resolution doesn't change"
   href="https://bugs.webkit.org/show_bug.cgi?id=160930">160930</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Safari fails bitstream switching of video streams under MSE if the resolution doesn't change
          </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>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>OS X 10.11
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Blocker
          </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>rb&#64;living.video
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Safari fails bitstream switching of MPEG-DASH video streams under MSE if the resolution doesn't change.
Here are two sample files:
<a href="https://living.video/MPD/xxx1.mpd">https://living.video/MPD/xxx1.mpd</a>
<a href="https://living.video/MPD/fawsleyoverlay.mpd">https://living.video/MPD/fawsleyoverlay.mpd</a>

With both dash.js and shaka players, these files corrupt on switching video representation in the resolution doesn't change (so, bitrate change only).
It switches fine if the resolution changes too.
The same files work perfectly in all other browsers tested on both PC and Mac, just fails in Safari.
We have labelled the video stream representations with a text overlay. Our streams labelled 1-4 are all 768x432 pixels. Our stream labelled 5 is 1280x720 pixels.
The video will switch from representations 1-4 TO representation 5 (and vice versa), but will fail if it switches between representations 1-4 which are at the same resolution.
This is a bug in Safari in handling the switch under MediaSource Extensions.</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>