Bug 160930
| Summary: | Safari fails bitstream switching of video streams under MSE if the resolution doesn't change | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Richard Bushell <rb> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Blocker | CC: | eric.carlson, jer.noble, jonlee |
| Priority: | P2 | ||
| Version: | Safari 9 | ||
| Hardware: | Mac | ||
| OS: | OS X 10.11 | ||
Richard Bushell
Safari fails bitstream switching of MPEG-DASH video streams under MSE if the resolution doesn't change.
Here are two sample files:
https://living.video/MPD/xxx1.mpd
https://living.video/MPD/fawsleyoverlay.mpd
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Carlson
Can you please create test pages for DASH streams to help us reproduce the problem?
Richard Bushell
(In reply to comment #1)
> Can you please create test pages for DASH streams to help us reproduce the
> problem?
You can enter and LOAD the MPD on these players:-
http://mediapm.edgesuite.net/dash/private/support-player/nightly/index.html
http://shaka-player-demo.appspot.com/demo/
(use: custom asset)
You can use Manual Switching Mode for forcing switching to specific indexes rather than automatically switching by bitrate availability.