Questions tagged [chromecast]

Questions related to Google's Chromecast device, a dongle that provides hi-definition audio/video on TVs via wifi streaming.

Development Links:

General info: http://www.google.com/intl/en/chrome/devices/chromecast

List of Available Apps: http://www.google.com/intl/en/chrome/devices/chromecast/apps.html

2028 questions
12
votes
2 answers

How to test Chromecast apps without a TV?

Background I'm planning to make an app that casts things (urls, content,...) to chromecast . I've bought a ChromeCast dongle, and it worked fine using the samples of Google. The problem It's quite annoying to have 3 screens to look at while…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
12
votes
4 answers

"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, I get a java.lang.IllegalStateException:…
joaomgcd
  • 5,287
  • 4
  • 28
  • 39
11
votes
3 answers

Large number of RemoteServiceExceptions in Google's cast MediaNotificationService

In the last ~24 hours, we've seen a few thousand crashes within Google's MediaNotificationService: Fatal Exception: android.app.RemoteServiceException Context.startForegroundService() did not then call Service.startForeground():…
Jake Lee
  • 7,549
  • 8
  • 45
  • 86
11
votes
4 answers

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 case is to send media from a device to the cast…
Elliott
  • 4,598
  • 1
  • 24
  • 39
11
votes
0 answers

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 unnecessary code and made an app just to see what…
casolorz
  • 8,486
  • 19
  • 93
  • 200
11
votes
2 answers

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 and Video. But not a single word how to that with…
AnZ
  • 1,040
  • 24
  • 54
11
votes
2 answers

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 seem to only be using the V1 Receiver API which…
2xAA
  • 308
  • 3
  • 11
11
votes
2 answers

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:] socketDidDisconnect:withError: "(null)" and then if I…
hariszaman
  • 8,202
  • 2
  • 40
  • 59
10
votes
2 answers

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:…
Doug Smith
  • 29,668
  • 57
  • 204
  • 388
10
votes
0 answers

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 availability. I enable GoogleCast feature in my app…
10
votes
1 answer

DRM WideVine video not playing from android cast sender application

I am using the following cast receiver When I connect my android sender to chromecast device, it show a black screen and never plays video. https://github.com/googlecast/CastReferencePlayer I'm setting licenseUrl for widevine in receiver as…
Ibrahim Iqbal
  • 600
  • 3
  • 23
10
votes
3 answers

"No acceptable module found" on Android emulators using com.google.android.gms play-services 9.2.0

I have recently updated to com.google.android.gms:play-services 9.2.0 and am attempting to use the new Chromecast library and Firebase Analytics but am receiving the error "com.google.android.gms.internal.zzsj$zza: No acceptable module found. Local…
Jaz
  • 371
  • 1
  • 6
  • 20
10
votes
1 answer

Chromecast MediaRouteProviderService

I have strange issue, I am creating mediaprovider for chromecast using following code that works fine for first instance, list of devices is shown and once slected I use router.selectRoute(routeinfo); but once I exit app this code unable to find…
ingsaurabh
  • 15,249
  • 7
  • 52
  • 81
10
votes
1 answer

Chrome Cast Sender "session_error" NOT_FOUND

I can't get a basic sender app set up. I've tried the CastHelloText sender example, put in my own AppId and get an error immediately after chrome.cast.requestSession() is called when I select my device from the top-right Google Cast extension…
daleyjem
  • 2,335
  • 1
  • 23
  • 34
9
votes
2 answers

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 so:
TareK Khoury
  • 12,721
  • 16
  • 55
  • 78