All Questions
Tagged with google-cast google-cast-sdk
196
questions
0
votes
0
answers
19
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
56
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
97
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
71
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
62
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
40
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
127
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
85
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
406
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
212
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
0
answers
60
views
How to send media status to sender of google cast?
Setting up google cast.
I use my own player in the receiver. Interaction between the sender and the receiver occurs using custom messages. Everything works, but there is a problem with the state. It ...
0
votes
0
answers
75
views
How to update currently playing protected video from iOS app when casting to Chromecast?
I checked CastVideos-ios sample app and now using this code to switch current item when casting to Chromecast:
let builder = GCKMediaInformationBuilder(contentURL: url)
if let remoteMediaClient = ...
0
votes
1
answer
132
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 ...
9
votes
0
answers
620
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 ...