All Questions
Tagged with google-cast google-cast-sdk
195 questions
4
votes
0
answers
40
views
Android / Google Cast error codes - not defined
I'm adding the Google Cast SDK to my application. I am testing on nest home mini's, a pixel tab, and chromecasts. Occasionally, I get errors that are not defined in either com.google.android.gms....
0
votes
0
answers
70
views
ChromeCast add tag <script> for dpad controls
I am using "ChromeCast HD". When loading the cast receiver I see an extra tag <script src="https://www.gstatic.com/cast/sdk/libs/caf_receiver/v3/...
0
votes
0
answers
76
views
How to send messages to Chrome Cast
When using react native google cast I'm trying to send a custom message for casting my web page by setting my custom reciver ID in the app.json. But when i connect to the chrome cast it establishes a ...
0
votes
0
answers
125
views
Casting Local Gallery video to GoogleCast SDK iOS
How we cast local gallery video to GoogleCast SDK iOS?
let url = URL.init(string: "Local Gallery pickup URL file:///private/var/mobile/Containers/Data/PluginKitPlugin/CBC411B1-375B-44F1-8183-...
0
votes
0
answers
90
views
Chromecast times out during custom sender/receiver playback
I'm developing a custom chromecast app, and one of the chromecast devices I'm testing with will timeout (or go to the screensaver for a different reason) exactly 5 minutes after casting no matter what ...
0
votes
0
answers
69
views
How to add adbreaks to a live stream in cast receiver?
I cannot find any example of how to add a vmap to a live stream at the receiver adBreaks docs (https://developers.google.com/cast/docs/web_receiver/ad_breaks?hl=en).
I would like to play an ad before ...
0
votes
0
answers
45
views
Playing next video while casting results in an error
I'm developing an Android TV app and I'm trying to implement casting straight to my native app. I'm using this as a reference: https://github.com/android/tv-samples/tree/main/ReferenceAppKotlin
I ...
0
votes
0
answers
141
views
Chromecast Web Receiver - Change button location for Chromecast Google TV
I've succesfully implemented a web receiver and now started customizing ControlSlots with some ControlButtons like so:
const controls = cast.framework.ui.Controls.getInstance();
controls....
0
votes
1
answer
112
views
Googlecast doesn't show Use Local Network dialogue
I'm using Googlecast for a few years now on my iOS radio-app. When migrating to Xcode 17.0 something broke within my implementation. When pressing the Googlecast button for the first time a Use Local ...
0
votes
1
answer
469
views
Why do I get the console error `Invalid config, unrecognized key .streaming.jumpLargeGaps` when streaming content?
Whenever I stream content to my web receiver, I receive a console error stating Invalid config, unrecognised key .streaming.jumpLargeGaps. I am not setting this key in the PlaybackConfig.shakaConfig. ...
0
votes
1
answer
252
views
Screen mirroring using ChromeCast SDK
I am building a screen mirroring app in android using media projection. Now, I want to mirror my mobile screen chromeCast enabled devices like Vizio SmartCast Tv, and other chromeCast device. Can I ...
0
votes
1
answer
144
views
How to stop casting immediately on Android?
I need to stop casting after the user enabled it inside my app.
The app listened to MediaRouter.Callback as below:
private val mediaRouterCallback = object : MediaRouter.Callback() {
override fun ...
10
votes
0
answers
758
views
Has anyone successfully implemented Google cast sdk with Jetpack Compose? What approach did you take?
I am currently trying to add Google cast sdk to a pure Compose app.
I have hit several issues with various approaches. I am wondering if anyone else has achieved this and if so what approach did they ...
0
votes
2
answers
3k
views
On Android, how to check the phone screen is casting?
I need to check if the Android phone my app runs on is using casting which is enabled outside of my app.
It seems CastSession or SessionManager can provide the session related to my app which is not ...
1
vote
2
answers
684
views
How can I resolve Task is not yet complete exception when implementing Google Cast into project?
I've been working on this for weeks no joke but I'm really stumped at this one part. So I'm in the process of implementing Google Cast into a poorly constructed codebase that I inherited.
Specifically,...