google-cast

Cast image (photo) to Chromecast

为君一笑 提交于 2019-12-10 12:45:42
问题 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 Pictures . I belive in power of stackoferflow and someone should've faced such problem. Please give some good sample or tutorial. All I need is guide to cast fullscreen picture using Media Router and its features. Thats how I was sending text

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

筅森魡賤 提交于 2019-12-10 10:47:43
问题 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

Anyone get the chromecast android examples working in android studio?

无人久伴 提交于 2019-12-10 09:51:59
问题 I've had a terrible time trying to get these to load without errors. Either the support frameworks fail or the cast api. Anyone have a repeatable method? The github examples say 'coming soon' for loading into android studio. 回答1: I haven't converted one of the test projects over but i have been able to create a new project that works with the chromecast device. First create a new project. Create a libs folder in the root of your applications module folder From the Chromecast SDK download copy

Does google chromecast iOS SDK support lock screen controls?

自作多情 提交于 2019-12-10 08:04:37
问题 I've tried to implement lock screen controls for google Chromecast video streaming app with the latest GoogleCast framework for iOS (2.1.0). I've corrected the example Chromecast app - https://github.com/googlecast/CastVideos-ios Have added UIBackgroundModes row to the Info.plist Added MediaPlayer framework. And added the following code to ChromecastDeviceController.m #import <MediaPlayer/MPNowPlayingInfoCenter.h> #import <MediaPlayer/MPMediaItem.h> ....... - (BOOL)loadMedia:(NSURL *)url

Google Cast SDK 2.3.0 for iOS doesn't support 64-bit

时光总嘲笑我的痴心妄想 提交于 2019-12-09 19:43:30
问题 It seems like the 2.3.0 version of the Google Cast SDK for iOS stopped supporting the arm64 architecture (it does support x86_64 though, making it work in the 64-bit simulator) λ: cd GoogleCast.framework λ: file GoogleCast GoogleCast: Mach-O universal binary with 5 architectures GoogleCast (for architecture cputype (16777228) cpusubtype (0)): current ar archive GoogleCast (for architecture armv7): current ar archive random library GoogleCast (for architecture armv7s): current ar archive

Google Cast custom receiver timing out

我与影子孤独终老i 提交于 2019-12-09 16:46:17
问题 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 receiver and have the receiver render the media using a player. The CAF receiver SDK provides this functionality in a beautiful, simple way using the element cast-media-player . But for those instances when we want to cast from a device and render

Styled Receiver and Remote Display from the same sender app (Chromecast Android app)?

被刻印的时光 ゝ 提交于 2019-12-08 10:42:52
问题 I am building a Chromecast Android sender app that needs to have two receiver apps, one of type Default / Styled Receiver App and the other as Remote Display . I am setting the CastOptionsProvider for my app in my AndroidManifest.xml as : <meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME" android:value="com.myapp.CastOptionsProvider" /> CastOptionsProvider.xml class CastOptionsProvider : OptionsProvider { override fun getCastOptions(context: Context):

Init with Chromecast in Swift

女生的网名这么多〃 提交于 2019-12-08 07:29:08
问题 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

Volume button not controlling casting device volume from android sender app using cast-sdk v3 by default

做~自己de王妃 提交于 2019-12-08 07:29:07
问题 I am using cast SDK v3 in my android sender app it is working good but the volume controls button doesn't control the casting device's volume by default. I have to expand the volume controls popup and adjust the casting device volume. It is directly controlling the device's volume when cast session resumes. But it loses focus once playback state is changed. private class CastSessionManagerListener implements SessionManagerListener<CastSession> { @Override public void onSessionStarting

Cast devices freeze when casting audio streams

爱⌒轻易说出口 提交于 2019-12-08 04:26:38
问题 I have an issue with casting some third party audio streams. I have relied heavily on https://developers.google.com/cast/docs/player and followed those instructions on how to create a custom receiver for playing the streams. After just a second or so after starting the stream (I don't get any sound) the Cast devices freezes and they stop responding to debug via Chrome and they don't react to stopping the Cast session. Often they are so locked that even issuing a reboot via the Home app doesn