question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For this 1080p MPEG-Dash video, when casting to chromecast, max up to 720p only.

See original GitHub issue

Have 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:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vaagecommented, Jul 27, 2018

@warking, after some digging this is what I found. I hope it helps.

Inside the dash parser we call to the player interface’s filterAllPeriods which 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 to MediaSource.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 the avc1.640032 codec. 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.640032 codec 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.

0reactions
warkingcommented, Jul 31, 2018

Got it. Thank you. It seems that chromecast has a lot work to do to catch up the modern high level codec stuffs

Read more comments on GitHub >

github_iconTop Results From Across the Web

For this 1080p MPEG-Dash video, when casting to ... - GitHub
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...
Read more >
Supported Media for Google Cast
Google Cast and all Cast Web Receiver applications support the media facilities and types listed on this page.
Read more >
How to Change the Resolution on Chromecast with Google TV
Do you have a Chromecast with Google TV and you are wondering how to change the Resolution in the Chromecast settings? In this...
Read more >
How to Adjust Chromecast Resolution - Lifewire
You can control the resolution from your mobile device by using a streaming app capable of adjusting the aspect ratio of the video....
Read more >
Chromecast Video playback stalls with buffering for MPEG ...
Cast the following Live MPEG-DASH video using a Sender App (on Chrome ... However, in the present case, a reference DASH Player plays...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found