FAQ Database Discussion Community


Chromecast receiver session_error LOAD_CANCELLED

chromecast,google-cast
I get session_error LOAD_CANCELLED when trying to send a 2nd video to the chromecast receiver. I'm trying to implement a custom receiver to cast videos from my website. At this point the application works fine, with all messages being exchanged as expected, except that if I have a video casting,...

Can I use UDN as a unique id for chromecast

google-chrome-extension,chromecast,google-cast
I noticed that as part of the device discovery exchange, device-desc.xml file contains a UDN value. Can I use this as a unique id for that chromecast device?

How to detect if Chromecast is already connected on Android Sender?

android,google-cast
I have an Android sender for Google Cast, and a Chromecast. I can cast video to a TV, and the cast button on actionbar becomes white. Now comes the question. When I leave the sender app, Chromecast continues to play video. This is what I want. But when I re-open...

Filtering Or Hiding Available ChromeCast Devices

android,chromecast,google-cast
I'm working on an app using Chromecast and I want to be able to filter the available devices or routes based on device name or description. So when a user clicks the MediaRouteButton only some of the available devices would show. The use case for my app happens in a...

How to Enable USB Debugging on Nexus Player? (Android TV)

android,adb,google-cast,android-tv,nexus-player
I am trying to debug my app on the Nexus Player hardware. I enabled the developer mode, turned USB Debugging on, and connected the cable. However, I don't see any message like the one below as stated here: https://developers.google.com/cast/docs/android_tv#adb-usb In the Allow USB debugging? dialog, select Always allow from this...

Different chromecast action bar icon when it is connected

android,chromecast,google-cast
I have integrated chromecast in my app.I want different action bar icons when chromecast is connected and not connected.I have created a drawable mr_ic_media_route_holo_light.xml and added below code to it for chromecast icon when it is not connected.But what i need to add for different chromecast icon when it is...

Retrieving Timed Metadata on Chromecast

chromecast,google-cast,id3,hls
We are developing a custom receiver for HLS video playback on Chromecast. Our stream has Timed ID3 Metadata embedded in the MPEG-2 Transport Stream (TS files). I need the exact position in the stream that these ID3 tags are located for our app to function properly. In my Custom Receiver,...

Google Cast Media Player Library - for streaming from Local Device

ios,casting,chromecast,google-cast
Despite reading the documentation it not not clear to me exactly what " Google Cast Media Player Library" is and whether it is the route I need to take for my Chromecast app. What I am trying to achieve is to play media from my local IOS device on Chromecast....

'senderdisconnected' event is fired up after 5-10 min after actuall disconnection

chromecast,google-cast
We have an explicit requirement to tear down the streaming when the sender disconnected. However we can see that 'senderdisconnected' and that window.castReceiverManager.onSenderDisconnected() is being called only after 10 minutes after device actually left the network. Can we somehow force Receiver to check connection more aggressively?...

Device list says Chromecast device is in “Casting Backdrop” on HTC Desire 620G

google-cast
I just bought a new HTC Desire 620G phone and tried to run Googlecast sender app. When it shows the device list, it said Chromecast device is "Casting Backdrop". I tried to cast to Chromecast but the device is still showing background image. The same sender app can work on...

Android GoogleCast Error - java.lang.NoClassDefFoundError: android.support.v7.media.MediaRouterGlobalMediaRouter

android,eclipse,google-cast
Im compiling ChromeCast this Github Project CastVideos-android.in Eclipse environment.I have latest dependencies installed on the project. When i running the project,its throws this run time error. 05-05 11:25:08.353: E/AndroidRuntime(17660): FATAL EXCEPTION: main 05-05 11:25:08.353: E/AndroidRuntime(17660): java.lang.NoClassDefFoundError: android.support.v7.media.MediaRouter$GlobalMediaRouter$1 05-05 11:25:08.353: E/AndroidRuntime(17660): at android.support.v7.media.MediaRouter$GlobalMediaRouter.<init>(MediaRouter.java:1628)...

How to disconnect from receiver application?

java,android,google-cast
In my Chromecast Sender application, I have added a menu item to allow the user to stop the receiver app on the device (and made sure the "Disconnect" button in the Media Router Dialog doesn't stop the receiver, like it does in the CastHelloText-android sample app) So, when the user...

Duplicate symbol error with GoogleCast.framework

ios,objective-c,xcode,google-cast,mach-o
I just started porting an Android app to iOS, and am hitting a major roadblock that I can't figure out despite scouring many similar questions. I am attempting to follow the pattern implemented in the CastVideos sample where the GoogleCast API is encapsulated in a singleton class which I've called...

Send Base64 encoded image as string to Chromecast

javascript,android,chromecast,google-cast,custom-receiver
The problem is to send local image from phone as encoded Base64 string to Chromecast. And decode it using my Custom Receiver. I was following this guide which is based on this project sample. I suggest the problem might be in: Custom Receiver is not proper (I'm not strong in...

Cast button not displaying

android,casting,chromecast,google-cast
I know its a quite common problem although searching through stackoverflow and android developers site left me without whole picture. Is it necessary to register application in Google Cast SDK Developer Console? I don't need custom receiver so I can use CastMediaControlIntent.DEFAULT_MEDIA_RECEIVER_APPLICATION_ID, can I? If I register application and receive...

Adjusting chromecast tv volume through mobile device volume up down buttons

android,chromecast,google-cast
I have integrated chromecast in my app.When video is running on tv i am able to change volume by clicking on chromcast icon which shows dialog box which allows to adjust volume.But i am not able to adjust the volume through my mobile device volume keys which are working fine...

Coach Marks Overlay with Chromecast

android,overlay,chromecast,google-cast
So I'm working on an application that uses Google Chromecast and I want to implement a coach marks system when casting first becomes available to the user. To do this I want a semi-transparent overlay over the entire screen except where the cast button is, as seen in the cast...

Save GoogleApiClient on Activity restart in Bundle

android,serialization,parcelable,google-cast
My application has a function of theme change (i.e. Activity is restarting). Is it possible to save somehow GoogleApiClient with its all callbacks state and parameters into Bundle in onSaveInstanceState() so that I don't need to rebuild it every time? I'm using Google Cast Api Client (for Chromecast devices). mApiClient...

Receiver app code testing

chromecast,google-cast
I am currently looking for the best way to test my receiver app code. I would like to know if there is a way to have a non-production version of the receiver app code running, which is not visible to my users, so that I can test new functionalities without...