Questions related to Google Cast SDK usage and issues.
Questions tagged [google-cast-sdk]
227 questions
5
votes
1 answer
Chromecast cannot receive custom messages (CAF Receiver)
I am working with react native wrapper for Google Cast SDK and I couldn't send a message from the sender to receiver. I am able to cast media or pause and resume it. The problem is only about custom messages. My custom message listener is never…

tonder
- 324
- 3
- 15
5
votes
3 answers
Start cast session for a cast device
I've got this use case:
Detect cast devices and save their id, names and information;
In automatic way, connect to predefined device and start cast session
with some content.
I've studied the Google Cast API v3 and it seems really hard. While with…

greywolf82
- 21,813
- 18
- 54
- 108
5
votes
2 answers
How do I decode id3 metadata in a chromecast receiver app?
Using Host.processMetadata() to get ID3 tags in the video stream. It says that this comes as a Uint8Array but I can't figure out how to decode this properly. I am using:
new TextDecoder("utf-8").decode(data);
However that is not decoding the data…

Mike Mintz
- 273
- 1
- 11
4
votes
0 answers
Flutter Cast for iOS and and Android devices
I would love if anyone can point me in the right direction for a good solution for casting in flutter.
Ive tried many solutions
ie: https://github.com/iansamz/flutter_google_cast_button.git
or the dart_chromecast:…

Ian Samz
- 1,743
- 20
- 20
4
votes
0 answers
SessionManager.endCurrentSession(false) stops casting
I am using SessionManager to manage a Cast session to a Chromecast device. In my Activity onPause() I have the following code:
val sessionManager = castContext.sessionManager
sessionManager.removeSessionManagerListener(castSessionManagerListener,…

Stefan Zhelyazkov
- 2,599
- 4
- 16
- 41
4
votes
1 answer
Not showing the nearby cast DeviceSelection screen in iOS
In my app when I tap on the cast button I only able to see the nearby device option. On clicking the nearby device selection options a screen with all the nearby cast devices should appear. In my case, it's not appearing which should come from the…

Tapash Mollick
- 41
- 4
4
votes
3 answers
CAF Receiver: How to change the volume / mute?
How to change the volume / mute the stream audio without using the controls on the cast extension ? I have implemented a slider on the sender side . This passes the volume value to receiver . But I do not understand , how to set volume or mute/…

Zer0
- 448
- 1
- 5
- 16
4
votes
1 answer
How can I get list of all cast devices using cast SDK?
I am struggling to get list of all chrome cast devices available in my network, I am able to make it work with there default implementation of adding a media router button in the action bar. What I want to achieve is to get list of all cast devices…

Pranav Agrawal
- 466
- 6
- 17
4
votes
0 answers
Crash Google Cast - Security SSLRecordServiceWriteQueueInternal
I have crash in Google Cast SDK.
Crashlytics logs:
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x189bd7014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x189c9f450 pthread_kill + 112
2 libsystem_c.dylib …

Ilya Bondarenko
- 161
- 5
4
votes
1 answer
Chromecast Receiver: Custom XHR Loader
I am writing a custom receiver for chromecast and was wondering if there is a way we can have our own, custom XHR loader functionality rather then the built in goog.net.XhrIo?
Basically I need to override the functionality of goog.net.XhrIo for all…

Corehacker
- 267
- 1
- 2
- 7
3
votes
1 answer
How to obtain widevine payload (challenge) in google cast?
I'm developing my own Custom Receiver Application and the stream I want to play is protected with widevine, I need to obtain my license from my own server and I need to pass content_id and payload. This my code:
playbackConfig.protectionSystem =…

aloj
- 3,194
- 7
- 27
- 38
3
votes
1 answer
Google Cast iOS SDK button disappear after accepting Local Network Permission
I was trying to implement CAST SDK. My intension and i have done the following things :
Casting/Mirroring my app screen. I don't want to play any video , just screen casting of my app to larger TV/screen. I know about Airplay, please discuss on…

Jamshed Alam
- 12,424
- 5
- 26
- 49
3
votes
1 answer
Getting actual width of Chromecast receiver UI
I have a second generation Chromecast connected to a monitor. I'm receiving 1080p60 from the Chromecast.
The Cast documentation states in several places that the UI is at the resolution of 720p:
While Chromecast displays the receiver page on a…

Brad
- 159,648
- 54
- 349
- 530
3
votes
0 answers
Get Chromecast sender URL on receiver
Is it possible for a Chromecast receiver to determine a particular sender's URL?
I can get a list of senders:
const context = cast.framework.CastReceiverContext.getInstance();
context.getSenders();
This returns an object like this:
{
id:…

Brad
- 159,648
- 54
- 349
- 530
3
votes
0 answers
Can't detect Chromecast if it is built-in a TV
I am working on a project which needs to have casting capability. I have implemented the Cast SDK several times and am relatively experienced with it, however I do have this strange issue. The cast SDK can't detect a Chromecast device, when the…

Georgi Boyadzhiev
- 1,351
- 1
- 13
- 18