-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does Chromecast use MediaCapabilities polyfill? #4164
Comments
Note: chromecast model detection in JS https://gist.github.com/lfalke/bd7eba442eae4d50075ecdf89dc9edf6 |
We were told by the Cast platform team at one time that the API was present, but not likely to provide meaningful data. I will check to see if that is still the case, or if there are certain firmware versions for which we could rely on the data. |
I can't recall who exactly gave us the advice to avoid MediaCapabilities on Cast, but now that I'm digging into this with the team, there are apparently three different implementations. Some devices are Linux-based, some are Android-based, and some are Fuchsia-based. Each has a separate implementation behind MediaCapabilities, so the state of MCap in the Cast ecosystem is unclear. |
As far as I know, those based on Android have the word Android in the userAgent, so if we know that for example Androids have a valid implementation, we could enable it for them. |
Here's what I've discovered so far from conversations with the Cast and Fuchsia teams:
To continue supporting Linux-based cast devices, we could always have a special MCap polyfill based on |
Determine current behavior of Media Capabilities API on Fuchsia --> https://bugs.chromium.org/p/chromium/issues/detail?id=1169950 |
After including the Android change, and seeing the status of Fuchsia, I think the question can be closed. |
I have seen the following comment:
https://github.com/shaka-project/shaka-player/blob/main/lib/polyfill/media_capabilities.js#L27-L29
Is this due to a particular version of Chromecast? Would it work on other versions (Android TV eg)?
In the internal laboratory that you have, what model of chromecast are you using?
Models: https://en.wikipedia.org/wiki/Chromecast#Model_comparison
The text was updated successfully, but these errors were encountered: