Questions related to Google Cast SDK usage and issues.
Questions tagged [google-cast-sdk]
227 questions
0
votes
1 answer
Unable to create a google cast container using Obj-c
I'm trying to build a sample app using the GoogleCast sdk. I'm stuck at the first step.
For some weird reason, I'm unable to create the cast container in Obj-c.
I'm not using the pods. I downloaded the frameworks and added them to the…

Teja Nandamuri
- 11,045
- 6
- 57
- 109
0
votes
1 answer
Chromecast receiver (CAF) multi audio issue
I create a new receiver for my iOS application.
I have a video (DRM) with a few audios and text tracks
If I change audio track nothing will happen.
IF I change it manually like audioTracksManager.setActiveById(event.activeTrackIds[1]); - audio…

Igor Zinchenko
- 305
- 3
- 13
0
votes
1 answer
Chromecast Google Cast SDK custom receiver is not getting detected
I am just starting implementing chrome cast , I started working on custom receiver app and i copy pasted code from google documentation and hosted on free web hosting : https://thirsty-roentgen-206e45.netlify.com, I registered my chrome-cast device…

sarat K
- 1
0
votes
1 answer
CastListner not workin in Fragment
I want to use CastStateListener in a fragment to check if casting devices are available or not.
Code used in Fragment is
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
mCastContext =…

Harsh
- 599
- 3
- 20
0
votes
1 answer
How to detect loading of unsupported caption tracks in Chromecast SDK
What's the best practice way to detect when an unsupported caption track is loaded (ie, a dfxp caption track)?
Options I'm trying to avoid:
Filter by MIME type before sending to chromecast (many of our clients' servers do not properly type response…

Afrophysics
- 579
- 3
- 14
0
votes
1 answer
Customization of sliders not applied
I am implementing Google Cast SDK 4.4.4 on iOS. I am trying to customize some of the colors.
Specifically I am trying to change the slider progress colors for the volume and the current time. One view is on the Connection Controller and the other…

Brian Nürnberg
- 1
- 1
0
votes
1 answer
How to test multiple versions of cast receiver app
Is there any way to test multiple versions of cast receiver app in staging? Right now, there is only two environments staging and production which supports two versions of the receiver app but what if multiple versions are needed within staging…

Vairavan
- 1,246
- 1
- 15
- 19
0
votes
1 answer
iOS chromecast sdk 4.4.4 Volume issue
I have upgraded the app with cast sdk iOS 4.4.4. Found the below issue.
Press the hardware volume 'Up' button in iPhone - the volume on the receiver goes down. Has anybody encountered similar issue? Any workaround for this.

V V
- 774
- 1
- 9
- 29
0
votes
1 answer
How to invalidate or refresh notification buttons
Is there any way to change the notification buttons depending on the type of content being casted. Skip button makes sense only for on demand content and not for live content.
In current API, CastOptionsProvider is used only once when the cast…

Vairavan
- 1,246
- 1
- 15
- 19
0
votes
1 answer
Android Sender Seekbar status is inaccurate
Once in a while, seekbar values of ExpandedControllerActivity goes out of sync after back to back playback. The max value is 1 and current progress is 1 and this causes the thumb to be at the end irrespective of the actual playback duration.…

Vairavan
- 1,246
- 1
- 15
- 19
0
votes
1 answer
Wrong Chromecast buttons position with RTL (right-to-left)
I am using googlecast example.
When I show GCKUIExpandedMediaControlsViewController, all the buttons are in the correct position.
But when I use this part of the code, the buttons overlap each other.
UIView.appearance().semanticContentAttribute =…

maxwell
- 3,788
- 6
- 26
- 40
0
votes
0 answers
CAF Error throw when chromecasting media with mpeg-cenc
Above is error's screenshot which described what I got when I try to chromecast one media whose format is mpeg-dash and ContentProtection is "Common Encryption"
It works well when I chromecasting mpeg-dash with Widevine or hls media.
Any help would…

M.Tae
- 1,437
- 1
- 14
- 24
0
votes
1 answer
How to capture media events (play/pause/next etc.) in a Custom Receiver?
Google Chromecast supports external control, such as play, pause, next, previous using both the Google Home app and an Infrared remote (over HDMI CEC).
How can these events be captured in a custom media receiver (using the CAF Receiver API) when the…

Emile Nijssen
- 25
- 3
0
votes
1 answer
Is it customizable how long would the metadata card display on screen?
I'm developing a custom receiver app using googlecast CAF SDK, and I would like to know is there an easy way to set how long would the metadata card display on screen before fading out, I did read the official document like every single day but am…

ShengKai Lin
- 1
- 2
0
votes
0 answers
How to prompt the receiver to display [title / subtitle / thumbnail] card on screen?
I'm developing a custom receiver app using googlecast CAF SDK, in some cases I would like to display the metadata card on screen to reflecting the media information change, but it seems MEDIA_INFORMATION_CHANGED event would not automatically trigger…

ShengKai Lin
- 1
- 2