Questions tagged [google-cast]

Questions related to the Google Cast screen-sharing technology. Includes questions about creating a Receiver (a HTML5/JS/CSS3) app that runs on the Chromecast device, and about creating a Sender on their Chrome browser and / or iOS and Android devices.

Google Cast is a technology suite that brings TV's into the multi-screen era. In simpler words, Google Cast is a screen-sharing technology that lets a user send and control content like video from a small computing device like a phone, tablet, or laptop to a large display device like a television.

Developers will need to create a Receiver (a HTML5/JS/CSS3) app that runs on the Chromecast device. They also must create a Sender on their Chrome browser and / or iOS and Android devices.

1411 questions
68
votes
8 answers

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. This way developers can test their sender…
Robert Dale Smith
  • 777
  • 1
  • 5
  • 7
49
votes
1 answer

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 Chromecast. However, when I call stop(), to stop…
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
26
votes
5 answers

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 with little explanation what any of it does. I just…
kbriggs
  • 1,267
  • 1
  • 12
  • 16
18
votes
2 answers

Can't find Chromecast serial number to register my device

I'm trying to register my chromecast device for development on the console following this guide: https://developers.google.com/cast/docs/registration But it seems like its outdated, because when I follow the instructions its " cast this tab"…
Jim Jones
  • 2,568
  • 6
  • 26
  • 43
17
votes
3 answers

Build own Chromecast device

The Chromecast device is a "receiver device [that] runs a scaled-down Chrome browser with a receiver application". Can I download and install this receiver app on a chrome browser for example on my Windows notebook?
Manuel A
  • 217
  • 1
  • 2
  • 5
16
votes
1 answer

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 autoJoinPolicy was set to ORIGIN_SCOPED it even works from a…
a--m
  • 4,716
  • 1
  • 39
  • 59
15
votes
2 answers

Android ChromeCast RuntimeException : Remote load failed. No local fallback found

I am using cast feature in my application. It was working fine but suddenly I can see the increase in the number of crashes on play store console. I am initializing CastContext properly as defined in the guidelines and Moreover, I am checking that…
sam_k
  • 5,983
  • 14
  • 76
  • 110
15
votes
1 answer

How do I discover a Chromecast device using Android?

I'd like to discover a Chromecast device and adjust the volume.
14
votes
2 answers

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 my Android Phone is currently an Google Cast…
Adam Styrc
  • 1,517
  • 2
  • 23
  • 38
14
votes
2 answers

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 been trying the code here, but it needs an…
CalumMcCall
  • 1,665
  • 4
  • 24
  • 46
14
votes
1 answer

Custom Chromecast sender API - possible?

I'd like to examine the possibility of writing an unofficial Windows 8 (WinRT/Metro) sender API for Chromecast. The goal would be to allow Windows 8 Store apps roughly the same functionality of iOS / Android apps through the official sender API…
lucas-j
  • 141
  • 1
  • 3
13
votes
6 answers

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 MediaRouteButton from the default dark to light since I…
ActiveApathy
  • 1,171
  • 10
  • 19
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
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
1
2 3
93 94