google-cast

Cast devices freeze when casting audio streams

↘锁芯ラ 提交于 2019-12-08 04:17:26
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't work; I have to physically disconnect the power. It's the same behaviour on Chromecast v2 (1.22.79313

iOS app getting a “device authentication error” when scanning for Chromecast devices

前提是你 提交于 2019-12-08 04:14:02
问题 I'm working on an iOS sender app for Chromecast. I have two Chromecast devices set up and was able to detect and connect to both of them until I switched to a different test iPhone, and now when I try to scan for Chromecast devices, the deviceDidComeOnline message is never sent. I am able to reproduce the problem with the sample app here, with version 2.5.1 of the GoogleCast framework. The following is console output from the sample app when it fails to detect a Chromecast: 2015-01-17 07:52

Unable to get Receiver List in Chromecast

微笑、不失礼 提交于 2019-12-08 03:17:04
问题 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

skipNext skipPrevious Google Cast greyed out

孤街醉人 提交于 2019-12-08 02:56:22
As it pertains to How to add/use GCKMediaQueue in Swift? I have added the skip buttons on AppDelegate, and they do appear on the expanded controller screen. But they are greyed out. If I let a video end, then it will play the next in the queue. But then why are the buttons greyed out? That usually means that they are not available to use. But I have 50 videos in the queue, so what am I missing? func addvideos2queue() { for indexloop in 1 ... 50 { debugPrint("**** Attempting #" + String(indexloop) + " to add another to the que") let PTV = playthisvideo() //received random video file name let

How does one query the “parameters” sent to a Chromecast Reciever app?

浪子不回头ぞ 提交于 2019-12-07 18:47:53
问题 The docs shown on this page demonstrate how to send arbitrary parameters from a sender app to a receiver app: https://developers.google.com/cast/chrome_sender Specifically, here: request.parameters = "v=abcdefg"; But, I don't see how the receiver app is supposed to access those parameters once sent? Does someone have an example of jscript for a receiver to see this string? 回答1: It looks like Chromecast pulls down the built-in application settings from the following URL: https://clients3

How do I keep a ChromeCast route alive when my app is in the background on battery power?

ⅰ亾dé卋堺 提交于 2019-12-07 17:20:39
问题 I'm working on an Android app that supports sending music to a ChromeCast. We'd like users to be able to cast entire music playlists while the app runs in the background. When my Nexus 7 is not connected to USB power and I turn the screen inactivity timeout to 15 seconds in the settings, the app will disconnect from the ChromeCast about 90 seconds after the device powers off its screen. I've identified that I'm getting a MediaRouter.Callback call to onRouteUnselected , and since that's the

Is it actually possible to play SmoothStreaming videos on Chromecast without using (format=mpd-time-csf)?

可紊 提交于 2019-12-07 17:14:01
问题 I'm trying to get a video playing on Chromecast - it's available as an MS Smooth Streaming manifest (example), but I can't specify format=mpd-time-csf (example), as it's not available in that format. Directly passing the manifest URL to the Chromecast doesn't work yet, but will be available for the final SDK release, as stated by Les Vogel here: Playing Smoothstreaming URL by providing Manifest file of smoothstreaming to Chromecast device As I understand it can play dash/smooth videos by

Can't get a list of cast devices on the network

大城市里の小女人 提交于 2019-12-07 09:53:34
问题 I'm trying to get a list of cast devices programmatically in Android, without using the MediaRouteActionProvider button in the SDK. I create a MediaRouter and MediaRouteSelector like so: mMediaRouter = MediaRouter.getInstance(this); mMediaRouteSelector = new MediaRouteSelector.Builder() .addControlCategory(CastMediaControlIntent.CATEGORY_CAST) .build(); I then start discovery: mMediaRouter.addCallback(mMediaRouteSelector, mMediaRouterCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN);

Chromecast “StartApplicationRequest failed with status: -4”

[亡魂溺海] 提交于 2019-12-07 06:42:57
问题 I've set up the Chromecast SDK, whitelisted my device, and am running web servers at the URLs I provided in the whitelist request. The chromecast tic tac toe app works fine with the default app id "TicTacToe" , however changing it to my own: "1813060e-33c5-41dc-b356-0d2bad12497f" or "1813060e-33c5-41dc-b356-0d2bad12497f_1" does not work. The server url is up and running at http://chromecast.clockworkmod.com/, but no requests are being made to it by Chromecast. The chromecast doesn't display

Does the content stream from WiFi directly to Chromecast, or from WiFi to Android to Chromecast?

点点圈 提交于 2019-12-07 03:35:41
问题 Does the content stream from WiFi directly to Chromecast, or from WiFi to Android (or any other device) to Chromecast? I know that the other devices can be used to control the Chromecast, but I just want to know whether say you can stream directly from your mobile due say to battery life. 回答1: The mobile device is only used for the initial content discovery phase where the user selects a video stream to watch. Once playback is initiated, the Chromecast device connects to the internet over