This is the official Google+ home of Google Cast Developers. See "About Community" for important developer links.
See all
Members (8,345)
Leon Nicholls's profile photo
Kristan Uccello's profile photo
Shawn Shen's profile photo
Vadim Gorokhovsky's profile photo
Ali Naddaf's profile photo
Antonio Fontan's profile photo
Wayne Piekarski's profile photo
Gustavo Menezes's profile photo
Majd Bakar's profile photo
Leon Nicholls's profile photo
Mark Scott's profile photo
Prameet Shah's profile photo
John Affaki's profile photo
Jagjit Chawla's profile photo
Jonathan Koren's profile photo
Jon Pokrzyk's profile photo
Md Sens.'s profile photo
Randy Weinstein's profile photo
Paulus Schoutsen's profile photo
Adelino Junior's profile photo
Shaun Fitzgerald's profile photo
Rui Santos's profile photo
hon nguyen's profile photo
Akhil Yendluri's profile photo

Stream

Join this community to post or comment
Pinned by moderator

Leon Nicholls
owner

Announcements  - 
 
Google Cast SDK 3.2 for iOS and Android Released
We have released a new version of the Google Cast SDK:
https://goo.gl/G8pxh5

This release includes these new features:
• Ads support forAndroid sender apps
• Cast SDK for iOS supports dynamic frameworks
• Live Streams support

Happy Casting!

#googlecast #chromecast #googlecastsdk
8
Add a comment...

Sreekanth Krishnan

General Question  - 
 
Hi team,
I owned a Chromecast recently (yes, very late) and found there are not much games on Android targeting Google cast. Or I would say there's none which is fun play. So I see this as an opportunity and I'm thinking of building some simple casual games for the platform. But before that I would like to ask whether anyone of you have researched on this? Is there any reason for this lack of games? Or are there any good games which I didn't see? Is it really worth investing time in developing games for this platform?
Any insights on this are highly appreciated. 😀
Thanks
1
Dave Haenze's profile photoSreekanth Krishnan's profile photo
2 comments
 
Hmm. Seems you have a valid point. But I was of an impression that remote display APIs could build better games.
Anyway thanks for your comment +Dave Haenze​​
Add a comment...
 
how to connect to the googlecast device console(Terminal) and while connecting to device for debugging its showing unable to connect with given <device IP>.
1
Leon Nicholls's profile photoSaurabh Mishra's profile photo
2 comments
 
+Leon Nicholls thanks can you tell which protocol is used by google cast device.

Add a comment...

Saurabh Mishra

General Question  - 
 
Which protocol is used by Chromecast audio
1
Leon Nicholls's profile photo
 
You can use the Cast protocol with the Cast SDK.
Add a comment...
 
I have successfully casted normal videos in chrome cast. We have DRM videos as well. I have googled a lot and tried different solutions but not succeed. We are using Widevine - DRM . There is a license url required to play widevine video but I couldnt get from where the license url will be fetched. Do any body experience the same please help 
1
Leon Nicholls's profile photo
 
For DRM you will need a custom receiver. Take a look at our MPL docs on how to support DRM: https://developers.google.com/cast/docs/player
Add a comment...
 
Hi, I am having an issue with the language of the default dialogs and viewcontrollers of the Google Cast v3 SDK.

As far as I understand, the dialogs should display messages in the device's language, but they keep appearing in English.

I have tried to force the language with:

options.launchOptions = GCKLaunchOptions(languageCode: "(language_code)", relaunchIfRunning: true)

But this has no effect.

What may I be doing wrong?

Thank you.

1
Leon Nicholls's profile photoGuillermo de Miguel's profile photo
2 comments
 
Thank you that worked, although the default Expanded View Controller remained in English.
Add a comment...

YS Lai

Receiver  - 
 
Hello everyone,

I'm unable to connect to the Chromecast console with Styled Receiver. I use Android Sample Chromecast App to connect to my SMR and it works. But in chrome x.x.x.x:9222 refused connection.

3 devices are on same network too. Any solution? HELP 
1
YS Lai's profile photoLeon Nicholls's profile photo
5 comments
 
Please file feedback within Chrome about this issue.
Add a comment...

YS Lai

Android  - 
1
Leon Nicholls's profile photo
 
Our sample receiver is based on our reference receiver: https://github.com/googlecast/CastReferencePlayer
You can use that for your own custom receiver and then use the Chrome Remote Debugger to determine if there are any playback issues.
Add a comment...
 
Hi!

I'm searching how can an app could appear in Google Cast App.
As like this screenShot.

Anyone have an info?


Thanks



2
Leon Nicholls's profile photoaunglin soe's profile photo
5 comments
 
Good
Add a comment...

Hugues Hardel

General Question  - 
 
When does the media player use XMLHttpRequest to load a video?

My app features videos from multiple heterogeneous content providers so I don't always have control over the server side of things. I need however to be able to sort the video that will play ok from the ones that won't so I can hide the latter from the users (or mark the video as not available for Google Cast playback). So far the simple rule of thumb we have used is as follow:

• If it's an HLS video (detected from the content-type, e.g. "application/x-mpegURL") are loaded with XMLHttpRequest thus requiring CORS headers to play on a Chromecast device.
• Non-HLS videos are loaded as file (e.g. content-type "video/mp4"), and should play on Chromecast regardless of CORS headers.

That rule seems to be holding true for the most part, but I am occasionally seeing some mp4 videos that the media player is loading with XMLHttpRequest.

What am I missing? There has to be a way to anticipate if a video will play ok in a cross-origin situation: it would be useful if someone could share the rules used by the media player to decide wether to use XMLHttpRequest to load a video.

1
Leon Nicholls's profile photo
 
HLS could contain fragmented MP4. Our MPL library is only used for streaming media formats. You can take a look a our reference receiver app on how to handle different video formats: https://github.com/googlecast/CastReferencePlayer
Add a comment...
 
Cast SDK V3
I try to cast some images (Photos). It also works now, but the cast dialog is strange. It has a volume slider and a text "No media selected".

I don't need the volume slider, because I just cast some pictures without any sound:
new MediaMetadata(MediaMetadata.MEDIA_TYPE_PHOTO);

The text "No media selected" is also very annoying. I don't even understand why this is it there and who should what select...

How can I disable this? I just need a friendly "Stop casting" button.
3
Paul Trebilcox-Ruiz's profile photoLeon Nicholls's profile photo
2 comments
Add a comment...

About this community

Google Cast is the easiest way for developers to share content with a TV. The Google Cast SDK provides everything you need develop Google Cast applications on Android, iOS and desktop Chrome platforms. You may post your app to the community only if you make the source code available for other developers to learn. The Google Cast team monitors and supports several sites and resources that might interest Google Cast SDK developers. Here is how you can use these sites: • Stack Overflow: For your specific coding questions. • GitHub: For filing bugs against the Google Cast sample apps. • Cast issue tracker: For filing general Cast bugs or feature requests. • Google Cast Developers Community : For developers to share their experiences and ask questions about Google Cast which are not explicitly covered by any of the above.

Jonathan Koren
moderator

Announcements  - 
 
Hi everybody,

We've updated the CastHelloText android sample to use the new Cast SDK v3! With the new APIs, this sample becomes a lot more streamlined--check out the Git diff to see what's changed: https://goo.gl/8sypue. For more information on how the API has changed for custom channel registration, you can refer to: https://developers.google.com/cast/v2/android_migrate_sender#custom_channel_registration

Happy casting!
4
Add a comment...

Saurabh Mishra

General Question  - 
 
How to implement or make my speaker as Google cast audio
1
aunglin soe's profile photo
 
Good
Add a comment...

Wout Debacker

General Question  - 
 
Is there anyone who knows if it's possible to send IP-commands to chromecast audio? With that i mean commands that control the chromecast: volume, radio station, ...
3
Leon Nicholls's profile photo
 
You can use the Cast SDK to connect to a receiver app and control the media playback. Changing the media content is something that is controlled by the media service itself.
Add a comment...
 
I have a published app that works fine (ID: BB3DD71E). I can successfully access it via my Chrome browser with the Cast extension. I've just added another custom receiver app (ID: 967C2F75) via the dev console that uses a different server for testing updates. I've copied my custom receiver and test sender html page to the test server and set the new app ID in the sender app. When I load my sender I'm getting 'receiver list empty'.
1
Leon Nicholls's profile photoVincent Roggero (THX tune-up)'s profile photo
2 comments
 
That worked. Thanks for the quick reply Leon.
Add a comment...
 
Hello! We are having playback problems in the receiver. It plays back fine for a couple of minutes then the player states starts to switch between PLAYING and BUFFERING a couple of times. The video segments seems to continue to download (at least we get the callback with bandwidth statistics for the downloads).

The error I'm seeing in the receiver log is:
[cast.player.api.Player] playback stalled in buffered region

Any ideas where to start looking for the problem?
2
Leon Nicholls's profile photoThomas Bondo Homburg's profile photo
2 comments
 
Hi

Thank you for the link, I have filed an issue.

As an addition I have a manifest file from the problematic stream

https://drive.google.com/file/d/0B4B6Kor9mZHDUHltaWNZOEd0bE0/view?usp=sharing
Add a comment...
 
Is there any way to change the position of thumbnail image of tv right now its in left bottom corner . i am using Google Cast SDK 
2
Leon Nicholls's profile photo
3 comments
 
File a bug on the Github project with a complete log.
Add a comment...

Leon Nicholls
owner

Videos  - 
2
Victor Hugo Fonseca Barbosa's profile photoLeon Nicholls's profile photo
2 comments
 
+Victor Hugo Fonseca Barbosa Stay tuned for updates and please provide feedback if there are things in those API's you think we should improve.
Add a comment...

Leon Nicholls
owner

Announcements  - 
 
Chromecast Preview Program Launched
The Chromecast Preview Program allows you to enroll your Chromecast devices to receive platform preview builds. Enrolling in the Chromecast Preview Program gives you early access to new features and updates before they are released broadly.

We recommend that Google Cast developers enroll into the Preview Program to verify that your apps work well with the new platform features a few days before it is rolled out broadly. As long as there is availability, you can enroll a Chromecast device in the Preview Program using the Google Cast app Device Settings: http://goo.gl/IMYPv2

The Preview Program is only available for Chromecast devices, not for third-party devices that incorporate Google Cast. A limited number of users are allowed to join the Preview Program.

We know many Chromecast developers have requested for this, so we’re excited to give you early access to platform updates before your users. You can use the Google Cast app to file feedback for any issues you encounter: http://goo.gl/D57B0Y

You can leave the program at any time, but it may take as long as a few weeks until the next production firmware update is received by your device so that it can be moved off the preview build. Therefore, as a developer we recommend that you dedicate a Chromecast device to the Preview Program.

Happy Casting!

#googlecast #googlecastsdk #chromecast
14
6
Leon Nicholls's profile photoaunglin soe's profile photo
10 comments
 
Good
Add a comment...

Leon Nicholls
owner

Announcements  - 
 
Media Player Library Update
We recently updated MPL with various new features: http://goo.gl/N6ozeZ

We want to call out that in a future release, a switch will be added to enable using either sequence number or program date time, where the default will remain program date time, to merge refreshed live stream playlists.

Happy Casting!

#googlecast #googlecastsdk
2
Ali Mehrpour's profile photoLeon Nicholls's profile photo
2 comments
 
You still use the following URL for MPL in your receiver: "//www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js"
Add a comment...