158 questions
13
votes
6
answers
10k
views
How do I change the style of the MediaRouteButton in the ActionBar?
I realize I'm probably doing something fundamentally wrong with styles and themes but I'm still a bit of an Android newbie so please excuse my ignorance. I'm trying to change the style of my ...
12
votes
4
answers
28k
views
"GoogleApiClient is not connected yet" exception in Cast application
I'm developing an Android application that casts content to Chromecast.
Sometimes in my com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks implementation in the onConnected method, ...
26
votes
5
answers
36k
views
Display web sites and web apps with Chromecast
Can Chromecast be used to display a web site or web app? All the sample sender/receivers I've seen so far show how to play videos. The docs posted so far are minimal as best, just an API reference ...
68
votes
8
answers
79k
views
Will there be Chromecast Receiver Emulator or an alternate app that acts as a receiver for development?
Will there be any sort of emulator for the Chromecast receiver itself? Or possibly a way I could run a secondary Chrome window on my laptop that behaves the same as the one on the receiver itself. ...
15
votes
2
answers
20k
views
Steps to programmatically cast from android to miracast receiver
I'm trying to write an app that will start casting the screen from an Android phone to a TV via miracast. I'm using an HDMI dongle since the TV in question doesn't natively support miracast. I have ...
11
votes
4
answers
3k
views
Google Cast custom receiver timing out
Using the Google CAF Receiver SDK, how do we prevent the receiver from timing out and automatically killing the cast session when we're not using the receiver player?
The standard Google Cast use ...
8
votes
2
answers
6k
views
Open Chromecast YouTube video from my Android app
I'm able to use my own whitelisted url for feeding my chromecast videos, but can I make it stream a YouTube video directly from my app?
I assume all I would need is to launch the YouTube app remotely ...
6
votes
1
answer
3k
views
Chromecast receiver, how to load media without explicit cast sender request?
Media exists on an external server that I would like to play on my cast receiver (a modified version of Google's CastReferencePlayer). The receiver is in constant communication with this server (via ...
5
votes
3
answers
4k
views
Chromecast SDK (Android) - is there a way to check whether the media playing on the cast device has finished playing?
Is there an onFinished listener of some sort? Or do we have to compare the current stream position against the duration of the track?
5
votes
3
answers
5k
views
Examples using CastCompanionLibrary to simply display an image
I am looking for and example of casting an image to chromecast in android. Oddly enough it doesn't seem like this is covered in the googlecast sample repositories. Does anyone have a simple ...
2
votes
2
answers
3k
views
How to keep GCKCastSession alive when app goes to background
I'm using latest Google Cast SDK for iOS (version 3.1.1.10003) and our app is remote controlling Google Cast devices, e.g. it changes their volume. It needs to do so also when our app goes to ...
1
vote
1
answer
2k
views
How to Make A Custom Cast MediaRouter Dialog
I am currently using the CastCompanionLibrary in my project. It is working well, however I need to customize the behaviour of the Cast button.
Currently, a dialog button containing the Cast devices ...
1
vote
2
answers
2k
views
Is avc1.66.31,mp4a.40.2 supported by the Chromecast device?
I have an m3u8 file that looks like this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=2048805,CODECS="avc1.66.31,mp4a.40.2",RESOLUTION=1280x720
chunklist_w517510829.m3u8
And I get the ...
15
votes
1
answer
9k
views
How do I discover a Chromecast device using Android?
I'd like to discover a Chromecast device and adjust the volume.
11
votes
2
answers
5k
views
ChromeCast background video playback support iOS
I have a problem that when I my application goes in background the GCKSocket of chromecast iOS api closes and I get this typr of error from api
-[GCKCastSocket socketDidDisconnect:withError:] ...