Questions tagged [google-cast-sdk]

Questions related to Google Cast SDK usage and issues.

227 questions
1
vote
0 answers

Flutter iOS Chromecast doesn't request for NSLocalNetworkUsageDescription

I have a problem with a flutter app, whenever I call GCKCastContext.sharedInstance().presentCastDialog() the cast device popup shows, it says to check settings to make sure that Local Network Access is on, but there is no popup to request…
1
vote
0 answers

Android Chromecast Sender won't update title and images

I've followed the instruction from Google on how to cast media metadata to chromecast, the initial loading is fine, it will show the title, image and play the stream, but my problem is that I am streaming a live audio stream and need to update the…
1
vote
0 answers

How to cast local files with React Native

I am working on an app that cast local files to chromecast devices using react-native-google-cast but as the google cast library only supports http so how can I host my local files on a local server in my react native project. I have came across…
1
vote
2 answers

Video cast on Fire TV stick using google cast

I am using Google cast SDK for casting video in TV for android and ios application. Using this SDK I am able to cast video in Android TV, chromcast, But Fire TV stick device is not found in SDK. I want to implement video casting same like youtube. I…
1
vote
0 answers

App crashing on MiniControllerFragment inflate

I have added MiniControllerFrament in XML of mainActivity, whenever the app launch it crashes with the below log (Testing this on Google Pixel 4a device) 2022-01-27 20:06:08.063 21050-21050/? E/AndroidRuntime: at…
shrikant
  • 11
  • 2
1
vote
1 answer

How to play IMA ads on Chromecast from sender app ( Android )

Hi everyone just wondering if anyone knew what we need to do to play IMA ads on chrome cast from a sender app, From what I understand reading the docs the only way to play it is to send a message to the chromecast receiver with the pubads…
1
vote
0 answers

Casting music and video from the same iOS application with different background option doesn't work

I have an iOS application that can play music and video. You can cast music or video from the app using the chromecast sdk. I've been reading the documentation about playing in background. When setting this code: let criteria =…
Mathieu V.
  • 11
  • 1
1
vote
0 answers

Orientation changes to portrait after dismissing iOS 14 Google Cast Network Access Prompt

Our app is a streaming app that allows users to stream on Google Cast devices. For iOS14, Google Cast has new network access settings prompt. Issue When the device is in landscape and the user clicks the Google Cast button from the player screen,…
Devi
  • 55
  • 5
1
vote
0 answers

How to import cast_receiver.js from Cast SDK in webpack project?

I'm trying to use cast_receiver.js in my webpack v5 setup. Basically, I want to import the Google Cast classes like you would with any other import. Something like: import cast from 'cast'; // or... import cast from…
l33t
  • 18,692
  • 16
  • 103
  • 180
1
vote
0 answers

Google cast - cast audio from my app with spotify api

I'm currently building a school project where I implement Google cast. I can cast video content. But I've also implemented Spotify API and I can play songs on my phone but I can't cast the audio. MediaInfo mediaInfo1 = new…
Andy95
  • 11
  • 1
1
vote
1 answer

Chromecast debug- can cast but cannot inspect

I have a gen3 chromecast device (whitelisted) and have had no issues inspecting traffic using chrome://inspect in the past. Now all of a sudden I just cannot seem to debug the CC device. When I “chrome://inspect” I can see the device (not by its…
Komal J
  • 11
  • 2
1
vote
1 answer

Can I create Custom Device Picker for iOS CastSDK 4.5.0

In Swift Google Cast SDK 4.5.0 can I create Custom Device picker ? Previously while using '3.4.0' I was able to do it using GCKDeviceScanner. As for now for 4.5.0 device scanning is done automatically. So I want to know if I still can create a…
Waqas
  • 959
  • 1
  • 8
  • 17
1
vote
1 answer

Remove white top shadow from GCKUIMiniMediaControlsViewController

In swift, with Google Cast SDK, is there an option to remove white shadow from top of GCKUIMiniMediaControlsViewController view? let style = GCKUIStyle.sharedInstance() let miniMediaStyle = style.castViews.mediaControl.miniController …
Marco
  • 1,057
  • 1
  • 19
  • 36
1
vote
1 answer

GoogleCast framework crash on iOS 14

I'm trying to use google cast sdk in my project, for some reason it crashes without giving a proper error: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary…
Simon Borkin
  • 101
  • 2
  • 7
1
vote
1 answer

Updating Chromecast receiver status text after start

On my Chromecast custom receiver, I can set the status text like so: const instance = cast.framework.CastReceiverContext.getInstance(); const options = new cast.framework.CastReceiverOptions(); options.statusText = 'Custom status text!!'; …
Brad
  • 159,648
  • 54
  • 349
  • 530