google-cast

How to listen for HDMI-CEC media controls events in receiver

纵饮孤独 提交于 2019-12-06 21:30:26
Google recently announced that Chromecast now supports HDMI-CEC controls. https://plus.google.com/+LeonNicholls/posts/FyGeJavgmX3 I would like the implement the functionality in my app. I have tested with Youtube and my TV and it works. How can I implement the same thing in the receiver portion of my Chromecast app? I have tried listening for key events, but that doesn't seem to pick anything up. Any ideas? As long as you use the Media Manager on the receiver side (the recommended approach), you shouldn't need to do anything special. As stated in your article, it's basically only the Google

Unable to get Receiver List in Chromecast

冷暖自知 提交于 2019-12-06 20:43:26
I am doing a sender and receiver app for our site using Chrome API, currently when user wants to connect chromecast, its opening extension with device list, but in youtube its showing right there.. i am unable to get receiver list when i initiate chromecast sender app, all i am getting is device available or not, there are some old examples which uses cast.Api.addReceiverListener() to get the list of available devices.. but currently its not working and there seems to be no other option to do it.. i can see youtube and netflix are doing it though thank you. This is not officially supported in

Init with Chromecast in Swift

落爺英雄遲暮 提交于 2019-12-06 17:33:27
I recently started to work with Google Cast API in iOS and I'm trying to get it to work with Apple new programming language Swift. I used as a reference Google Sample apps at https://github.com/googlecast/CastHelloText-ios and the problem is when I start the emulator I get an error message called: "-[GCKDeviceManager init]: unrecognized selector sent to instance 0x7fcd7a52d340" I know that I forgot something, but what and where do I need to put it?? For making it easer to help me, here is my code. class SettingsController: UIViewController, UITextFieldDelegate, GCKDeviceScannerListener,

What do I do if my Chromecast AppID isn't working?

妖精的绣舞 提交于 2019-12-06 12:42:57
Registered and received Chromecast AppId from Google. Implemented simplest possible sender using Chrome API. Sender works if I use YouTube for AppId but not if I use the AppId Google sent me. Updated sender to listen for both at the same time. My Chromecast shows up in the YouTube list but not in the my AppId list. I believe my sender is correct but my Chromecast was not correctly whitelisted. What do I do now? JavaScript in my sender.html. My AppID obfuscated. var myID = 'df7cb8ba-a00b-476b-a9b5-xxxxxxxxxxxx'; var ytID = 'YouTube'; onYtReceiverList = function(list) { $(".ytreceivers").html("

Chromecast Receiver App Cookies

旧时模样 提交于 2019-12-06 12:27:05
问题 I am trying to play an HLS stream on my chromecast custom receiver. However i'm having authentication issues fetching the m3u8 files because my server requires a cookie. The request to get the root m3u8 file has a 'Set-Cookie' header which needs to be considered when fetching the sub-m3u8 files in my stream (to pass server authentication). I would like to know if its possible to have cookies set when the receiver app fetches the media. 回答1: Try something like: window.mediaHost = new cast

How to add a custom SessionProvider with Google Cast SDK 3

你。 提交于 2019-12-06 09:53:26
问题 We've recently updated the Google Cast SDK to version 3. With this SDK it should be possible to add support for non-cast devices by implementing getAdditionalSessionProviders() in an OptionsProvider. We have created a custom SessionProvider to return with the getAdditionalSessionProviders() method. However, this SessionProvider is never used and it will probably only be used when a device has been discovered and selected in the selection list when the MediaRouteButton is pressed as described

unable to cast to personal whitelisted receiver app

我与影子孤独终老i 提交于 2019-12-06 08:17:11
问题 I have successfully used the Android TicTacToe app to cast to the TicTacToe receiver app (AppID "TicTacToe"), using unmodified code from the TicTacToe example on github. Next, I tried to use my personal receiver app. I got the email a couple of hours letting me know that my device was whitelisted and providing the AppID. I put the AppID in line 90 on GameActivity.java (not line 91, as stated in the instructions), and I also put it in line 35 of tictactoe.html (this step was missing from the

Streaming from IP camera using chromecast

 ̄綄美尐妖づ 提交于 2019-12-06 07:19:58
问题 I am trying to stream through IP camera through my android device. I have edited the URL from the code posted on GitHub It is streaming on chrome browser when I tried to run from IP address of camera. But when I try to cast it, It shows me player status:IDLE and blank screen on TV Other videos are playing but for streaming I am facing problem. Any help?? 来源: https://stackoverflow.com/questions/20489251/streaming-from-ip-camera-using-chromecast

Google Cast slow for some streams

本小妞迷上赌 提交于 2019-12-06 06:28:54
问题 I have an Android app which plays live streams from web (mostly icecast) via Google Cast. Everything worked fine and fast, but now it takes much longer time for some streams to start (make sound). This may be somehow related to the Chromecast firmware upgrade as my Chromecast device got updated to the latest version (1.32.124602) recently. This is how I play stream via Cast: MediaMetadata metadata = new MediaMetadata(MediaMetadata.MEDIA_TYPE_GENERIC); metadata.putString(MediaMetadata.KEY

Will Chromecast device play videos encoded as HLS? [closed]

不羁的心 提交于 2019-12-06 06:22:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . It apparently works on Google TV (for Android apps, not html5 apps), so I'm curious if we'll be able to encode them as HLS (Http Live Streaming) for use with Chromecast? 回答1: It will now according to the updated SDK docs: https://developers.google.com/cast/docs/media I'm guessing for contentType on MediaInfo you