Questions related to Google Cast SDK usage and issues.
Questions tagged [google-cast-sdk]
227 questions
1
vote
1 answer
Chromecast videos are not autoplaying m3u8 file
I using Google example for work with Chromecast.
Working with mp4 files is correct.
But if I want to use the m3u8 format, the video will not start playing.
If I rewind the video by 10 seconds ahead, it starts playing. But it doesn't play when…

maxwell
- 3,788
- 6
- 26
- 40
1
vote
1 answer
How to get all available Chromecast devices?
I want to add an action for a custom Chromecast button.
I can use a default button (GCKUICastButton) with a default action.
let castButton = GCKUICastButton(frame: CGRect(x: 0, y: 0, width: 24, height: 24))
castButton.tintColor =…

maxwell
- 3,788
- 6
- 26
- 40
1
vote
1 answer
Google cast sender app showing SAMPLE watermark on tv screen when connected
I am developing an Android app within which I am trying to setup the Google cast framework and trying to play remote live streams on a chromecast device from my app.
Now, when the devices are connected and when I try to cast on my TV screen with…

Harshit Laddha
- 2,044
- 8
- 34
- 64
1
vote
1 answer
Volume button not controlling casting device volume from android sender app using cast-sdk v3 by default
I am using cast SDK v3 in my android sender app it is working good but the volume controls button doesn't control the casting device's volume by default. I have to expand the volume controls popup and adjust the casting device volume. It is directly…

Abilash
- 313
- 5
- 15
1
vote
0 answers
Why is Chromecast SDK for iOS so big when installed with Cocoapods?
I recently added the Chromecast SDK to my project, and GoogleCast.framework is nearly 650MB.
Is that the normal size? If not, how can I decrease the size?
I installed it with Cocoapods (the google-cast-sdk pod) and my project is all in Swift.

gohnjanotis
- 6,513
- 6
- 37
- 57
1
vote
2 answers
Wrong volume control stream for CastPlayer in a Service
I'm using the ExoPlayer Google Cast extension v2.8.4. When playing content using the CastPlayer, the device's physical volume buttons should control the receiver device's volume. This behaves as expected when the CastPlayer is contained within an…

deRonbrown
- 635
- 7
- 14
1
vote
0 answers
How to Cast a local image to Chromecast from iOS app
I want to cast device local photo to Chromecast but only loading screen is displayed on Chromecast and no photo is showed.
I successfully cast the video using this method .Please suggest me how can I show local photo to cromecast.
This is my code…

Ashish
- 706
- 8
- 22
1
vote
0 answers
cannot create communication from sender to receiver CAF v3
we are able to make communication from sender to receiver.
but we can only send NUMBERS as a custom message ex: 123,45, etc
when we try to attach any string content eg: hello,hello122 or any character the receiver side does not get any message.
We…

akash gaur
- 303
- 1
- 3
- 9
1
vote
1 answer
Google Cast iOS Cannot load media
I've been having trouble making Google Cast SDK work properly for a week now. I have successfully established a connection with Chromecast receiver, at least the logs say so in so does my GCKSessionManagerListener.
This is how far my application…

Tomaž Ravljen
- 29
- 1
- 5
1
vote
1 answer
Changing app id on Chromecast sender
I have a Chromecast sender application that can be used to launch multiple app ids for testing purposes.
In the Chromecast docs, it says that the setOptions function should only be called once. And indeed when calling it a second time, the…
user9614031
1
vote
1 answer
CAF Receiver: Error handling
We've created a custom CAF receiver with generic error listener based on cast.framework.events.EventType.ERROR event:
playerManager.addEventListener(cast.framework.events.EventType.ERROR, event => {
if (playerManager.getPlayerState() != "IDLE") {
…

FNC dev
- 11
- 4
1
vote
1 answer
What is the equivalent of cast.player.api.Player live stream options on CAF receiver?
Right now using the cast reference player I pass Infinity as the second parameter on cast.player.api.Player.load() when I want to play live content. How can I accomplish that with the CAF receiver?
Thanks.

casolorz
- 8,486
- 19
- 93
- 200
1
vote
1 answer
How can I enable verbose debug on Cast SDK3 and CAF receiver?
I'm converting to CAF receiver and Cast SDK 3. I'm having some issues with sending messages from the CAF receiver to the sender. I think the CAF part is working but to make sure I would like to enable verbose logs. How can I do that for both the…

casolorz
- 8,486
- 19
- 93
- 200
1
vote
0 answers
Google Cast Plugin for iOS in Unity
Trying to get Chromecast to work on a iOS ARKit application with the Google Cast Remote Display Plugin for Unity, using this guide from Google:
Remote Unity - Google.com
I carefully followed all the provided steps, several times both video and…

Fredrik Holmgren
- 11
- 5
1
vote
0 answers
cast.player.api.Host error: cast.player.api.ErrorCode.NETWORK/3018
I have an app which plays Live Channels over Chrome Cast. While most of the channels are played successfully on some channels I get
cast.player.api.Host error: cast.player.api.ErrorCode.NETWORK/3018
I've looked around the web and wasn't able to…

Abbas
- 3,529
- 5
- 36
- 64