Skip to main content

All Questions

Tagged with
48 votes
1 answer
2k views

RemotePlaybackClient, stop() not getting callback

I am attempting to write a RemotePlaybackClient sample app, in part because the one published by Google crashes aapt. I can get RemotePlaybackClient to support play(), and it plays back a video on a ...
CommonsWare's user avatar
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 ...
kbriggs's user avatar
  • 1,297
16 votes
1 answer
2k views

Chromecast – Connect to other device session from Chrome

Context When casting from Google Chrome and using the session listener it's possible to join an already created session, this works well when the session is created from chrome, and if the ...
a--m's user avatar
  • 4,782
14 votes
2 answers
2k views

Detect usage of Google Cast

How to detect if my AndroidTV is currently an Google Cast receiver from mobile/desktop ? How to detect who is currently an Google Cast sender from Google Cast Receiver perspective? How to detect if ...
Adam Styrc's user avatar
  • 1,537
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 ...
ActiveApathy's user avatar
  • 1,211
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, ...
joaomgcd's user avatar
  • 5,347
11 votes
2 answers
10k views

Sending messages from Sender to Custom Receiver with Chromecast receiver API V2

I've looked high and low for an answer and I can't seem to find anything, Google's Docs seem incomplete to the matter of message sending to a Custom Receiver. Also previous answers on StackOverflow ...
2xAA's user avatar
  • 308
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:] ...
hariszaman's user avatar
  • 8,406
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 ...
Elliott's user avatar
  • 4,628
11 votes
2 answers
6k views

Cast image (photo) to Chromecast

I'm following these (1, 2) guides to create a sender Android application for Chromecast and I'm only interested in sending pictures. There are a lot of informaton and samples how to cast Text, Audio ...
AnZ's user avatar
  • 1,050
11 votes
0 answers
2k views

When trying to find a Chromecast - MediaRouter.Callback is never called on my app for some of my users

I'm switching my app away from the CastCompanionLibrary because I need to support more streaming devices and a few of my users are having trouble with Chromecast discovery. I stripped out all of the ...
casolorz's user avatar
  • 9,514
10 votes
2 answers
5k views

Why is Chromecast unable to stream this HLS video? "Neither ID3 nor ADTS header was found" / Error NETWORK/315

I'm trying to stream some URLs to my Chromecast through a sender app. They're HLS/m3u8 URLs. Here's one such example URL: https://qa-apache-php7.dev.kaltura.com/p/1091/sp/109100/playManifest/entryId/...
Doug Smith's user avatar
  • 29.3k
10 votes
0 answers
825 views

Detecting GooglePlayServices availability does not work

UPDATE: Probably fixed in GPS v12 but some people still report that nothing has changed. See this thread on google issue tracker. I have encountered a problem with detecting Google Play Services ...
Bartosz Wilk's user avatar
9 votes
1 answer
2k views

Style dialog after click on MediaRouteButton

Hi can someone help me with styling dialog that appears after clicking on MediaRouteButton? There is a white text displayed on gray background which doesn't look good. android.support.v7.app....
Adam Radomski's user avatar
9 votes
2 answers
4k views

Google Cast button not showing in Android

Trying to use Google's cast SDK v3 in my project, the cast button is failing to appear even though I have cast receivers active near me I have added the Google cast button to my project layout like ...
TareK Khoury's user avatar

15 30 50 per page
1
2 3 4 5
57