For this 1080p MPEG-Dash video, when casting to chromecast, max up to 720p only.
See original GitHub issueHave you read the FAQ and checked for duplicate open issues?: Yes
What version of Shaka Player are you using?: 2.4.2
Can you reproduce the issue with our latest release version?: Yes
Can you reproduce the issue with the latest code from master?:
Yes
Are you using the demo app or your own custom app?: Demo app
If custom app, can you reproduce the issue using our demo app?:
What browser and OS are you using?: MacOS 10.13, Chrome 67.0.3396.99
What are the manifest and license server URIs?: manifest url: https://cdnapisec.kaltura.com/p/2082311/sp/208231100/playManifest/protocol/https/entryId/0_0cgrgqi2/format/mpegdash/tags/web_hd/f/a.mpd
What did you do? when casting that mpeg-dash url onto 2-gen chromecast, max to only 720p resolution. 1080p is the max resolution for that url and while playback in the browser, 1080p can be selected to play.
What did you expect to happen? cast to 2-gen chromecast and have 1080p video quality enabled in the select option
What actually happened? when casting that mpeg-dash url onto 2-gen chromecast, max to only 720p resolution. I don’t know where the restriction applies.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)

Top Related StackOverflow Question
@warking, after some digging this is what I found. I hope it helps.
Inside the dash parser we call to the player interface’s
filterAllPeriodswhich will go through all the variants and will check if the variant is compatible with the platform. If you follow the call chain deep enough you will find a call toMediaSource.isTypeSupported.This is where we ask media source if it can handle the content. Now on Chromecast we had to polyfill it as some codecs (while playable) cause problems if they are in the codec string. I checked and nothing in the pollyfill modifies your content’s mime type - so it’s not a problem there.
However, when I started playing with
cast.__platform__.canDisplayType, which the polyfill uses to test compatibility, I found that what it didn’t like was theavc1.640032codec. To make sure this was not a false rejection, I forced it to return true and media source threw an error because it could not handle the content.So it appears that there is something about the
avc1.640032codec that prevents the chromecast from playing that video stream. Thankfully Shaka Player detects it ahead of time and removes all variants that would use it.Got it. Thank you. It seems that chromecast has a lot work to do to catch up the modern high level codec stuffs