Questions tagged [google-cast-sdk]

Questions related to Google Cast SDK usage and issues.

227 questions
3
votes
2 answers

Chromecast - sender app - Cast icon not visible HTML5/JS

The problem is that cast icon is not visible even in sample examples by Google in sender application. Month ago i had to refresh the page couple of times to get an icon back or restart the device. Now nothing is working and the icon is missing but…
3
votes
0 answers

Can the default media receiver for Chromecast handle a contentId/contentUrl that results in a redirect?

I'm using a service for live-streaming videos that provides a link (say https://example.com/video.m3u8) to the relevant file in order to cast it. Following the link manually, I go through a 302 redirect (to e.g.…
J Mead
  • 63
  • 5
3
votes
2 answers

Localization of the googleCast framework not working

I'm trying to find a way to localize the google cast sample app. When I look at the documentation I see that we need to set some launch options when we create the sharedInstance. So in the sample app his appdelegate I changed the setSharedInstance…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
3
votes
1 answer

How to switch audio track in .mkv file on Chromecast (iOS)

I found that we can add mediaTracks for external audio and subtitles. And activate it with setActiveTrackIDs. But how I can change current audio track from english to different language? Any code example? Infuse player in store somehow can do…
Gralex
  • 4,285
  • 7
  • 26
  • 47
3
votes
2 answers

Default chromecast receiver app will not load

I am trying to run the default receiver application provided on https://developers.google.com/cast/docs/caf_receiver_basic#google_caf_receiver_sdk_google-caf-receiver-sdk. When I attempt to load the receiver in my Chrome 65 it throws errors in the…
petrosmm
  • 528
  • 9
  • 23
3
votes
1 answer

How to strip Google cast unused archs iOS | strip_unused_archs.sh

I've integrated Google cast support in my iOS app using official documentation and cocoapods. It's mentioned that before publishing app, you need to run shell script strip_unused_archs.sh to strip unused architectures from the app bundle. I've…
Fayza Nawaz
  • 2,256
  • 3
  • 26
  • 61
3
votes
0 answers

Google cast: IllegalStateException - Not connected to a device

We are getting reports about a crash which seems to be caused by google cast SDK. We don't know how to reproduce it, just that it occurs in production. 'com.google.android.gms:play-services-cast-framework:11.6.2' ..and here is the report from…
user1354603
  • 4,034
  • 4
  • 31
  • 43
2
votes
0 answers

Android TV cast - Senders count limit

What is the right way to set limit on senders count to only 1 user at a time. Should it be sender or receiver that disconnects previous session? or is there any right way to do it? Tried sending message from receiver to old and new connected users…
2
votes
0 answers

How can I add In-app screen mirroring option

I want to add an in-app screen mirroring option that would cast only the app's surface view/ layout/screen to cast-enable TV(Android TV). I tried different approaches but couldn't reach any concrete solutions. There are many questions for the same…
hardik9850
  • 581
  • 1
  • 9
  • 26
2
votes
1 answer

How to override Shaka player version using new API released March 31, 2022?

Google released new version CAST SDK March 31, 2022 with ability for overriding Shaka Player version (as release notes said :) ) but it didn't provide documentation how to set the Shaka Player version That is all what documentation has about…
Ihar Katkavets
  • 1,510
  • 14
  • 25
2
votes
0 answers

Customize local network access (LNA) interstitial dialog UI

The first time a user attempts to Cast, a new local network access (LNA) interstitial dialog will appear explaining why local networking access is needed. The dialog contains Learn more button which links to Google's support web page. Apple requires…
MohamedAbbas
  • 1,149
  • 4
  • 15
  • 31
2
votes
0 answers

ChromeCast in iOS using swift

I am trying to add Chromecast in my iOS app. I have installed google cast pod file and integrate the google cast developer console.Now when I tried with the GCKUICastButton in my screen, after tapping the button for first time the button is diss…
Gorib Developer
  • 587
  • 2
  • 13
  • 27
2
votes
1 answer

Unable to start device discovery on iOS 14 using GoogleCastSDK iOS 4.5.0

I am trying to migrate iOS Sender App From Cast SDK v2 to the Cast Application Framework (CAF) following this guide: https://developers.google.com/cast/docs/migrate_v2/ios_sender iOS version is 14 and I followed instructions on this…
S.Z.P.
  • 33
  • 1
  • 7
2
votes
1 answer

how to add http header for authentication to Chromecast request

While integrating Chromecast into iOS app, I have faced the problem accessing media content that requires authentication. In this particular case, authentication token must be added to the request in the http header, not as token in the url. There…
theli
  • 21
  • 1
2
votes
0 answers

Target has transitive dependencies that include statically linked binaries in podspec

I have a problem when I try to update google-cast-sdk pod in the podspec file my Pod library project. In this podspec file I have: s.dependency 'google-cast-sdk', '= 4.2.0' This version works fine, but I need update the library to the last version…
jframosg
  • 129
  • 1
  • 5
1 2
3
15 16