Questions related to Google Cast SDK usage and issues.
Questions tagged [google-cast-sdk]
227 questions
1
vote
1 answer
Handling Chromecast load errors in web-based sender
The documentation for a web-based Chromecast sender says that castSession.loadMedia() returns a promise. Therefore, I should be able to catch errors in an async function like so:
const castSession =…

Brad
- 159,648
- 54
- 349
- 530
1
vote
0 answers
Android Chromecast : ExpandedControlActivity giving SQLiteDatabaseException
To give a gist of a scenario.
I am using exoplayer to play the video and having a cast functionality.
When I click on cast button, I have
mediaClient.registerCallback(new RemoteMediaClient.Callback() {
@Override
public void…

CSG0811
- 632
- 5
- 20
1
vote
0 answers
Chromecast CAF freeze issue on Gen#1 devices
CAF receiver from Chromecast Gen#1 freeze while Chromecast Gen#2 is working just fine for the same piece of content.
Even chrome://inspect is not throwing any error. From the logs you can see, video is in progress and progress bar is spinning on the…

Nishant
- 101
- 10
1
vote
1 answer
exoplayer cast extension set referer in header
I'm using cast extension with exoplayer2 implementation 'com.google.android.exoplayer:extension-cast:2.11.7'.
How i can set custom header parameters like Referer like we set with DefaultHttpDataSourceFactory.

William
- 225
- 4
- 21
1
vote
0 answers
What is the correct way to add Chromecast support to a Windows/Mac app?
I have a Windows/Mac Electron app. What would be the best way for me to add Chromecast support to it?
I see there is an Electron Chromecast npm package (https://www.npmjs.com/package/electron-chromecast) but it is pretty old. Shouldn't there be a…

casolorz
- 8,486
- 19
- 93
- 200
1
vote
0 answers
Change navigationbar and cancel button for google cast views
I've implemented the google cast framework in my project and start theming the google cast views.
At the moment i've this piece of code:
let castStyle =…

Steaphann
- 2,797
- 6
- 50
- 109
1
vote
0 answers
Cast Application Framework receiver app not working on external cast device 2nd Geneation
I'm trying to develop CAF v3 receiver app and it's working with in-built and setup boxes cast devices but not working on external cast devices.
External cast devices NC2-A65 throws PIPELINE_INITIALIZATION_ERROR or VIDEO_ERROR with shaka error code…

Haridarshan
- 1,898
- 1
- 23
- 38
1
vote
0 answers
use of GCKDeviceProvider from Google-cast-sdk
Use of GCKDeviceProvider in google-cast-sdk.
How to get the list of already discovered device?
Can we store the discovered device list from google-cast-sdk in NSUserDefault, to use it in for app background to foreground handling?

dipshikha Patra
- 11
- 1
1
vote
3 answers
GCKUICastButton not visible in production
I'm encountering some production problems with the GCK. Everything works fine on the simulator, but when I build on a real device, nothing works.
At first, I thought it would have been a Signing or Capabilities problem, but I'm a registered…

Francis-Olivier Couture
- 347
- 1
- 3
- 12
1
vote
1 answer
Google Cast iOS SDK 4.4.4 - no device discovery
After updating to cast sdk 4.4.4, the device discovery stopped working on iOS simulator. I dont have a physical device to check if it works there.
Tested on simulators, running iOS 12.2 and 10.3.1
The Logger shows this message: Invalid BBSID with…

Rados
- 481
- 4
- 17
1
vote
0 answers
TTML+PNG suppont on Chromecast CAF3
I'm migrating from Chromecast v2 framework to CAF3, both using SHAKA player.
On v2 I'm able to activate and watch TTML+PNG subtitles.
On v3 I'm able to activate TTML+PNG but I can't watch them. I've look for a hidden div or something with no luck.
I…

Franco Fantini
- 11
- 1
1
vote
0 answers
Create cast session programmatically
I'm working with Google Cast API v3 and I want to re-connect the cast device automatically if the last device that was used is available, I was able to do this on Google Cast API v2 using MediaRouter but I can't find a way to do so in V3 using…

Pablo Lopez
- 91
- 1
- 6
1
vote
1 answer
Does the CAF receiver support Live DAI?
We have a custom CAF receiver that has both VOD and Live content. Currently our VOD content uses VMAP and we would like to use DAI for live content. I'm not finding much documentation on using DAI with the built in CAF ad functionality.
The CAF ad…

Allan Guigou
- 21
- 5
1
vote
1 answer
Is there any documentation available for integrating google CAF into a custom iOS framework?
I am trying to integrate Google CAF into my custom player sdk (player.framework). I tried following the documentation and was able to compile my player.framework successfully, however integration of player framework ends up in following linker…

Priyank
- 11
- 3
1
vote
0 answers
skipNext skipPrevious Google Cast greyed out
As it pertains to How to add/use GCKMediaQueue in Swift? I have added the skip buttons on AppDelegate, and they do appear on the expanded controller screen. But they are greyed out. If I let a video end, then it will play the next in the queue. But…

Brian M
- 331
- 3
- 10