google-cast

Chrome: Google Cast Retrieve Available Device List

感情迁移 提交于 2020-08-09 09:40:23
问题 I worked with the pre-release SDK before the official SDK was released. Before I could retrieve a list of devices and display them however I wanted. For example, Google Music still has this functionality. With the official release, is there any other way, besides having the Chromecast Extension popup with the list, to show available devices? I've been searching the documentation for an answer with no results. Thanks! 回答1: No, the functionality is now handled by the extension to make it more

Communicate with custom receiver app from chrome on iOS

烈酒焚心 提交于 2020-07-22 21:35:33
问题 I have a custom sender and receiver app that both work as expected on desktop. However if I try to run my app from chrome on iOS I run into issues. Based on the info Im gathering from debugging the receiver app, it is getting into my castReceiverManager.onSenderConnected function and I can log out the event.data and useragent (iOS CastSDK,,iPhone,iPhone OS,8.1.2). It never gets into where I listen for onMessage though. window.messageBus = window.castReceiverManager.getCastMessageBus('urn:x

Can't find Chromecast serial number to register my device

非 Y 不嫁゛ 提交于 2020-06-11 17:09:28
问题 I'm trying to register my chromecast device for development on the console following this guide: https://developers.google.com/cast/docs/registration But it seems like its outdated, because when I follow the instructions its " cast this tab" instead of cast.google.com or whatever and the serial number never shows up on the screen. I also followed the instructions on this page and checked my box/device, but there was no number on the box and number on the device was extremely faint and didn't

How do you find your Google Cast App ID (app_id) in the 2017 Google Play Developer Console?

我的未来我决定 提交于 2020-05-29 07:50:06
问题 I can no longer find the app_id that is required for the implementation of Google Play Services including Google Cast, In-app Billing, etc. Example: CastOptions castOptions = new CastOptions.Builder() .setReceiverApplicationId(context.getString(R.string.app_id)) .build(); It used to be obtained via the Google Play Developer Console here: Google Play Developer Console 2014 However Google recently released their new Play Console and things have been completely restructured: Google Play

Chromecast – Connect to other device session from Chrome

北城以北 提交于 2020-05-28 13:42:06
问题 Context When casting from Google Chrome and using the session listener it's possible to join an already created session, this works well when the session is created from chrome, and if the autoJoinPolicy was set to ORIGIN_SCOPED it even works from a different tab. The problem If another device created a session the sessionListener handler doesn't fire, so I'm not able join the created session. Between devices (android, ios) is possible to detect sessions, that the same behavior I would like

Chromecast – Connect to other device session from Chrome

生来就可爱ヽ(ⅴ<●) 提交于 2020-05-28 13:40:32
问题 Context When casting from Google Chrome and using the session listener it's possible to join an already created session, this works well when the session is created from chrome, and if the autoJoinPolicy was set to ORIGIN_SCOPED it even works from a different tab. The problem If another device created a session the sessionListener handler doesn't fire, so I'm not able join the created session. Between devices (android, ios) is possible to detect sessions, that the same behavior I would like

Can one use CastRemoteDisplay.API and Cast.API on the same GoogleApiClient?

牧云@^-^@ 提交于 2020-03-06 04:34:35
问题 I am developing an Android app with CastRemoteDisplay (Cast SDK v2). When another app starts casting, I want to ensure my app stops casting, so I create my CastOptionsBuilder with the following listener: Cast.Listener listener = new Cast.Listener() { @Override public void onApplicationMetadataChanged(ApplicationMetadata metadata) { String backdropId = "E8C28D3C"; // id of the Cast backdrop app if (!(metadata == null || metadata.getApplicationId().equals(backdropId) || metadata

Google Cast Chrome Sender - Callback on Queue change

自古美人都是妖i 提交于 2020-01-24 14:37:47
问题 I'm developing a casting application to work in Chrome, using the Queuing feature, and need to know how to obtain any callbacks when the next or previous item in the queue is loaded, because the remote player callbacks don't emit after the second video in the queue loads. Google's documentation for the Cast framework is terrible, and I've searched throughout the API and haven't found anything. Here are excerpts from my code (Typescript), specifically, a singleton class: private _context: cast