Open unknowwn-glitch opened 1 year ago
Can you give more details on what you think is wrong? The issue is unclear.
At the top tile bar (dropdown menu) one of the options is "screen cast" it doesn't work when you press it and it cant find any device. Is that because it is some google library or something? The device works because I can cast from a non GOS phone.
Do you have sandboxed Play Services installed?
Yes
For clarity, the OP is referring to the "Screen Cast" tile found within android's quick settings tile pull down shade.
I'm also incurring the same issue as OP on a pixel fold running graphene-os@UP1A.231105.003.2023110700 with sandboxed google-play-services@23.42.12
I'm not confident this is permissions related as the issue persists when temporarily allowing all permissions for both Google play services & store.
Only work around I identified was to install the Google Home app which allows me to cast to devices via: Google Home app > Devices > Local Devices > Select a device > Cast
I am also interested in "Screen Cast" but it is not working for me either. I have installed the sandboxed google-play-services and tested it with an older Samsung TV and a new LG WebOS TV, but neither of the devices show up when clicking on the Screen Cast tile. (Both of them work on an Oneplus Nord and an Xiamoi Phone with LineageOS)
How exactly is this implemented, as miracast or google cast? https://android.stackexchange.com/questions/252131/cast-on-lineageos-20 It looks like miracast is no longer supported from google?
@dk0r which devices where you able to cast to with the google home app? For me it did not work with any of the TVs...
Screen casting via Play services requires use of the "Google Home" app: https://support.google.com/chromecast/answer/6059461?hl=en
Screen casting via Play services can't be used via the "Screen Cast" tile, that requires privileged integration of Play services into OS.
Add feature so google play services can do that but in a sandbox so only when you allow
I have noticed the "Enable Wireless Display" option is missing under Cast settings for GrapheneOS (Pixel 7). Is it also related to play services? On my older phone, OnePlus 5, I can see the setting.
Wireless display is a separate thing and not supported by most Android devices anymore. Pixel 8 and Pixel 8 Pro added DisplayPort alternate mode similar to the support for HDMI output on Nexus phones. It was missing for a long time.
@dk0r which devices where you able to cast to with the google home app? For me it did not work with any of the TVs...
@uizore Chromecast with Google TV 4k (GA01919)
& Nvidia Shield TV Pro (P2897)
@dk0r which devices where you able to cast to with the google home app? For me it did not work with any of the TVs...
@uizore
Chromecast with Google TV 4k (GA01919)
&Nvidia Shield TV Pro (P2897)
Wireless display is a separate thing and not supported by most Android devices anymore. Pixel 8 and Pixel 8 Pro added DisplayPort alternate mode similar to the support for HDMI output on Nexus phones. It was missing for a long time.
To sumarize this,
there is Google Cast (proprietary protocol) to cast/stream to dedicated Chromecast Devices or Android TV (builtin Chromecast) in the same wifi if supported by the specific app. https://en.wikipedia.org/wiki/Google_Cast As a work-around it is possible to use this functionality with enabled sandboxed-google services and the google home app as mentioned by @dk0r
then there is Wireless Display/Miracast to cast/stream the hole display via wifi-direct to miracast certified receiver devices (TVs, beamer, receiver sticks eg.) This is not implemented in AOSP anymore, but reimplemented from vendors/lineage for some devices (that is the feature I was using/testing) https://en.wikipedia.org/wiki/Miracast#Android
and Display Mirroring via cable (USB-C to HDMI Adapter) which is technically possible for pixel 8/8pro, implemented in graphene OS and working with the right adapter :)
and Display Mirroring via cable (USB-C Adapter) which is technically possible for pixel 8/8pro but not officially supported from google or implemented in graphene OS at the moment?
GrapheneOS enables DisplayPort alternate mode.
Google cast isn't a completely unknown protocol. The casting protocol has been implemented in VLC and is open source. It would be extremely useful to either incorporate their code into an OS level package, or somehow hook into VLC's ability to cast, which would probably require changes to be made to VLC itself. Some kind of collaboration between GOS and VLC would probably be ideal, in order to be able to install VLC for the purpose of implementing screen cast.
Yeah guys we need this feature 🔥🔥🔥
I'm running into the same issue, screen cast with the quick tile does not find any devices to cast to. Would be great if feature could be implemented!
8th gen Pixels have DisplayPort alternate mode. Sandboxed Google Play provides Chromecast support. Some apps like VLC also have their own Chromecast support while others use the Google Play services Chromecast.
We don't currently plan to do anything else.
For me, (Pixel 6a) Screen Cast works directly from f-droid apps like Cloudstream and M3U, and also on Stremio, where these apps find Chromecast without any issue. However, when I try to use GOS Screen Cast button (in the quick settings tile pull-down tile block) no devices can be found.
There's no included screencast for the quick tile.
When I press screen cast button it shows looking for devices and no devices show. Can it be so that it is enabled when google play services is running or optionally install the cast like you can install google play services in sandbox.