-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cast API not implemented [$255 PAID] [$255 awarded] #79
Comments
youtube cast seems to work fine as it still uses castv1. Almost all other apps have migrated to castv2. |
Nice find @funkypc ! |
I am a long time cyanogenmod user without gapps. The cast api is one of the most missing feature (to use chromecast). Just added a 15$ bounty to support this issue: https://www.bountysource.com/issues/30090937-cast-api-not-implemented |
I've just added $ 25,-- to the bounty, I'd be really happy to see this issue resolved. |
It seems that there are big progresses in the last preview build :) |
Does it work yet? I'm currently investigating if I'm going to switch to no gapps (or at least no google account) but Chromecast will be missed because I use it daily. If it works, or needs to be tested, I'll give it a try. |
No, Cast API is not yet implemented. |
But in the log there is "Fix newest Cast Framework for some apps". Doesn't it include something? |
This is just a fix to ensure that apps using the newest cast framework don't crash on startup and are usable, it does not provide cast functionality. |
Is there a workaround to get Casting working either with an app or a hack until it is officially implemented into microg? |
BubbleUPnP has Chromecast support and allows you to stream arbitrary content to the Chromecast, but only if the content is provided as drm-free media file/stream. Some older versions of YouTube can cast without play services. There are also apps that stream the screen content which might be usable with a chromecast as well. |
Thanks, I'll investigate. |
I have also found this "unofficial" documentation of the protocol v2: https://github.com/jloutsenhizer/CR-Cast/wiki/Chromecast-Implementation-Documentation-WIP |
Is there anything one can do to help with this problem? I own a chromecast 1st gen and want to use a complete Google-free smartphone in the future. |
@christianfl: Anyone (well, a programmer) could implement it and submit a pull request. |
There is also a plugin for PulseAudio(Linux audio server) which supports streaming to Chromecast. |
I'd like to see this so I've added $5 to the bounty. |
Is anybody even looking at this? |
Doesn't work for me, I was curious when I saw this so I tried to use the Cast function from quick settings. It didn't do anything. Setup notes that I know of: Moto X4 w/ Havoc OS (Pie) and installed core only as user (not system). I needed it to keep GCam from crashing, didn't bother trying it for anything else until now. |
Please update to this build and retry. |
I installed your listed version, no change. I tried as priv-app and with the other plugins but there was no change. I also saw the cast icon didn't show up in Youtube Vanced (I don't use it but I checked to see if other apps would show the icon). I also posted a question to the Moto X4 Havoc group to make sure it's working with normal GPlay Services: https://forum.xda-developers.com/showpost.php?p=80092491&postcount=701 |
Should this work by now? Using microG 2.0.10.1940 which is built-in in LineageOS for microG it does not work neither with casting directly from quick settings nor with Netflix and Amazon. Netflix shows the icon (and after tipping on it the name of the chromecast) but does not connect. Any information on this? Can I help somehow? |
Just to clarify, you guys (that just commented about it not working) are testing the GSF Cast API and not just the regular chromecast connection? Try installing VLC and casting from that - it talks to the chromecast directly without going through the GSF Cast API. (Play a video, then after 2-3 seconds a cast icon will show up in the corner.) If this doesn't work, then your problem is something other networking issue unrelated to this issue. If VLC cast works, but (e.g.) Spotify cast doesn't work - it uses the GSF Cast API - then your issue is the same as this one. |
Casting works very inconsistently and very poorly for me using Netflix. VLC works fine. This issue should be reopened. |
I am using microG Services Core 0.2.10.19420 with lineageOS 16 from just a couple months ago. VLC works & Spotify doesn't work. I have a relatively complex firewall, but the same settings work for both Spotify and VLC on my other phone using the real GSF. Would be nice if devs could provide some diagnostic instructions. |
One workaround that works for me is, if I log into Spotify on both phones, use the real-Google phone's Spotify to connect to the chromecast, then I can use my microG phone's Spotify to control the chromecast. Ofc, this depends on having a 2nd real-Google phone & an app that supports this level of control. This suggests that the chromecast is talking to the service directly, rather than via the controller, which makes some sense. In other words, any quality issues you might be having, is probably not microG's fault. (My Spotify's streaming quality in the chromecast is fine even though microG can't connect to it.) |
Disney+ isn't working, somebody know why? |
Anybody else facing YouTube casting issues? The cast button isn't displayed. I'm on android 10 using the latest stable microg build. It's the only feature that's keeping me from using this. |
If I recall correctly, VLC implemented their own casting fix irrelevant of MicroG. The only reason to test with VLC is to check for a network connectivity issue. But this issue is definitely not resolved. I'm not sure why it's still closed. |
Wouldn't it be possible to use what VLC uses as a layer between Google's casting protocol and the Chromecast? Just giving an idea. Anyway, this issue seems to not be actually solved. |
Sadly not solved and my biggest reason not to switch to MicroG. Would be great to see an update here. |
I am cancelling my subscription to this project, this issue has been unresolved for a long time and marked as fixed. I don't even have an Android anymore, and I was supporting this project out of principle. |
the same happens to me too. This project is a blessing, but this only thing is keeping me from installing it on every device i own. |
Looking at previous comments, could a dev kindly reopen this issue? This issue does not seem fixed or is broken. Thank you. |
Casting to an existing session appears to work (if you cast the app from a phone with GSF first) but cannot cast through microG by itself |
I am able to Chromecast with Omnirom+Microg. I do not have GSF on my phone. Some apps work better than others. But youtube casting works fine, for example. |
Using YouTube Vanced on Samsung S8 android 9, chromecast device is listed but when I try to cast it doesn't connect and got a message saying Google play services needs to be updated but I am using latest stable version 21.15.15. |
I have the exact same problem on my OnePlus 9 Pro. |
https://github.com/YTVanced/Vanced/issues/1213 I believe I am having the same issue. Is there a list of known bugs somewhere to check on updates of when this should be fixed? |
This issue was about implementing Cast and Cast was implemented, now it is broken but it is a separate issue. |
This is probably one of the most critical components needed in order for most people to be able to switch away from binary gmscore, mainly because most media nowadays (i.e. youtube, netflix, etc.) depends on it in order to be at all useful. Everything else can be worked around, replaced, or proxied.
There is no real indicator of status of this, the closest is from 3rd party website, and indicates "Cast API: Some initial work done, nothing usable, applications may crash."
The text was updated successfully, but these errors were encountered: