Bug 160930 - Safari fails bitstream switching of video streams under MSE if the resolution doesn't change
Summary: Safari fails bitstream switching of video streams under MSE if the resolution...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 9
Hardware: Macintosh OS X 10.11
: P2 Blocker
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-16 19:41 PDT by Richard Bushell
Modified: 2016-08-18 08:21 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Bushell 2016-08-16 19:41:14 PDT
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.
Comment 1 Eric Carlson 2016-08-18 08:04:50 PDT
Can you please create test pages for DASH streams to help us reproduce the problem?
Comment 2 Richard Bushell 2016-08-18 08:21:59 PDT
(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.