-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
What's the status on Google Cast implementation? #580
Comments
#79 is Closed. |
@cubagithub I'm having the exact same issues with microg's lineageOS for Fairphone 3 on Android 11. Started looking on the web, was surprised to learn that microG supposedly already supports casting (somewhat). In my experience 0 cast functionality is supported. |
i can connect successfully my smartphone (los 18.1 microg) to my notebook (windows 10) via screen casting. |
But that isn't Google cast, right? Or am I misunderstanding something
…On 24 October 2021 11:14:42 CEST, RobertoWa ***@***.***> wrote:
i can connect successfully my smartphone (los 18.1 microg) to my notebook (windows 10) via screen casting.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#580 (comment)
|
first of all u should be verify, that cast is working generelly. |
How would I verify this? I thought Cast was just the Chromecast standard, since miracast has been removed from Android afaik
…On Sun, 2021-10-24 at 02:23 -0700, RobertoWa wrote:
first of all u should be verify, that cast is working generelly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Fortunately on some ROMs the removal of Miracast (Wifi Display) is reverted. |
Hi, I have the same issue using the unofficial Lineage MicroG on a Pixel 3 : Weirdly VLC works, the device appears in the list and can play videos. As a lot of people in #79. Is https://github.com/TeamVanced/Vanced/issues/688#issuecomment-992102591 relevant ? The chromecast was tested with an unmodified Xiaomi Note 10 too and worked correctly. |
Any news on this feature? I did not managed to cast Netflix, Display+ directly to chromecast. I tried debugging the Google sample cast sender application https://github.com/googlecast/CastVideos-android. The most interesting part is the following:
|
The following information seems like it holds the clue to solving the Chromecast casting issue:
Source: https://www.reddit.com/r/revancedapp/comments/wi4whv/casting_to_chromecast/iosvuag |
The Gnome team recently got Chromecast working, perhaps something useful could be found in this PR? https://gitlab.gnome.org/GNOME/gnome-network-displays/-/merge_requests/171 |
Seems interesting but i think that they only implemented the functionality to cast a stream from the device to the chromecast (like sharing your screen), not directly from the internet to the chromecast. I just realised that my rom also has this functionality implemented, but I'm not sure whether that goes through the chromecast or the miracast/wfd api. |
The older version can support MicroG. Why the new MicroG can't support chromecast ? I'm also curious to know why it can't support Chromecast? |
Because there is the old Chromecast API v1 and the newer V2. Microg has v1 implemented but not V2. The old vanced version uses the old Chromecast v1 API, while the newer revanced uses V2. Ig one way for the revanced devs to fix this would be to force the newer app to use the older API but I'm not sure how feasible that is. Also it's not within the scope for microg devs. |
@bertin0 As far as I know the newer Revanced can also use v1. Because I can cast with Revanced without problem to my older v1 devices. It's just the newer v2 devices that don't show up in the list when you press the cast button. So I think the only reason why Revanced doesn't force v1 commands for v2 devices is simply because v2 devices do not accept v1 commands. |
So is there no one developing chromecast V2 API applications now? Why is ReVanced completely unable to use chromecast now? If there are still APIs that support V1 or V2, shouldn’t the function be normal? |
May I ask an unrelated question: Why can't my phone find Youtube on my Android Tv Box? Does it still use the DIAL protocol or another one? |
Do you have any insights into how big the assignment of implementing the v2 api is in the current state? Might there already be some development on this or does it need to be done from scratch? |
Hi, How is everyone doing. I will see if I can take a look at this. Currently, I have a plan to take some of the code from VLC (which has a complete open source implementation) and see if that somehow can be used or translated for MicroG. First, I'll be starting off seeing if I can get mDNS to work. Then, see if and how I could start a stream. I will also hope to not run into license issues. |
Update: Okay, seems like I got a know-how of the Chromecast protocol. That seems easy enough right now. Anyways, the really big challenge for me at this moment is to understand how this will integrate into microg. The problem is that (I think) the cast-framework is linked into the application and still black-box proprietary. Meanwhile, our implementation in the cast core, doesn´t seem to work. But I can't tell what the communication should look like. So wish me luck. And if anyone is available to help me, that would also be great. |
@Tthecreator I could help on this BUT before starting reasoning and implementing a PR, I would like to have a feedback on it by the owner of the project @mar-v-in. |
@matteopessina |
Hi. I haven't really worked on Cast and don't know a lot about it. |
Hello everyone, |
Hi @AnyMelz At the time, I had found the same information. But I was still puzzled. The framework takes over a lot of the responsibility from the app. See: https://developers.google.com/cast/docs/android_sender/integrate#app_flow. It has been made really opaque to me what exactly is happening, or what is supposed to happen. What communication is supposed to go where? It's not like Google provides and extensive sequence diagram of what happens (except for the app to lib part maybe.) That makes things really hard to trace. So in the end back then after spending almost a week of my summer holiday on this, I gave up. I could try again sometime when I feel confident again. Maybe I'm just missing an 'eureka moment'. |
Does anyone know what this means:
Okay, I vaguely know what it means, but what is this service supposed to do?? |
I checked the wiki and the implementation page hasn't been updated in two years, so I thought I'd ask.
The text was updated successfully, but these errors were encountered: