Replacing "Chromecast Built-in" with "Chromecast Android Shell" dev build of Chromium checkout on ATV

380 views
Skip to first unread message

Akshay Agrawal US

unread,
Aug 18, 2019, 3:34:04 PM8/18/19
to Chromium-dev
Hi,
I am following https://chromium.googlesource.com/chromium/src/+/master/docs/android_cast_build_instructions.md to build cast_shell_apk for Android. My build succeeds and "out/Chromecast/bin/cast_shell_apk install" succeeds. This installs package org.chromium.chromecast.shell and I see a new system app under settings "Chromecast Android Shell". For debugging an issue on ATV platform I need my dev build to be used for Cast instead of "Chromecast Built-in" or com.google.android.apps.mediashell. I tried DISABLING "Chromecast Built-in" but it didn't help and I could no more discover the Chromecast device on the network. 

How to make  "Chromecast Android Shell" allow cast on ATV?

Regards,
Akshay

Dominic Lemire

unread,
Oct 9, 2019, 6:30:54 PM10/9/19
to Chromium-dev
Hello Akshay,

I know it's possible to switch Webview packages (set-webview-provider in android_webview/docs/quick-start.md), but I don't see the equivalent for cast unfortunately. Maybe they use a different mechanism, or it's just not possible. I don't know...

Thanks,
Dominic

PS: did you get a linking failure in_process_renderer_thread (g_browser_main_loop_shutting_down symbol)?

Torne (Richard Coles)

unread,
Oct 9, 2019, 6:44:43 PM10/9/19
to dominic...@broadcom.com, Chromium-dev
Unfortunately as the build instructions say at the top:

Note: it is not possible to build a binary functionally equivalent to a Chromecast. This is to build a single-page content embedder with similar functionality to Cast products.

So this is only useful for testing by manually loading the URL into this shell. There is no functionality for receiving casts over the network.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/651dd13b-acc1-4c22-b740-9f1caf01d29a%40chromium.org.
Reply all
Reply to author
Forward
0 new messages