google-cast

Other than chromecast from google, is it possible to build my own google cast receiver with google cast SDK?

白昼怎懂夜的黑 提交于 2019-12-12 00:17:42
问题 I'm wondering if I can build a cast reviver device like chromecast from google? From the google cast sdk it seems only chromecast can be a receiver device, am I understanding correctly? 回答1: You cannot build your own version of Chromecast device if you want to use the official Cast SDK; the official SDK verifies that it is talking to a genuine cast device. 来源: https://stackoverflow.com/questions/25598986/other-than-chromecast-from-google-is-it-possible-to-build-my-own-google-cast-re

Setting up android cast sdk

时间秒杀一切 提交于 2019-12-11 20:51:09
问题 I can't quite seem to get the cast SDK set up in eclipse. I'm supposed to import the project, then add it to my application project. I tried that, but I still can't access classes like CastContext. Any tips? I'm excited to get working on this thing! 回答1: Download the Android Support package with the SDK Manager. It should include mediarouter and appcompat. Should also download the actual cast api: https://developers.google.com/cast/downloads/GoogleCastSdkAndroid-1.0.0.zip ... You can miss

Chromecast subtitles on default receiver applications

∥☆過路亽.° 提交于 2019-12-11 19:47:24
问题 I am trying to include subtitles on a Chromecast application I'm building. I am using the default receiver application. I am writing a chrome sender application using v1 of the chrome sender api. According to the Chromecast Sender Api documentation, I should be passing in an array of track objects into the chrome.cast.media.MediaInfo object. My issue is, whenever I call chrome.cast.media.Track(trackId, trackType) , it returns undefined. When I look through the public methods in chrome.cast

Device not returned in list of receivers when using whitelisted application ID

若如初见. 提交于 2019-12-11 18:36:26
问题 I've seen a couple other questions from others having the same problem: in my sample application I've registered a callback as follows: cast_api.addReceiverListener(appId, onReceiverList); When I use appId = 'YouTube' I see my Cast, but when I use the whitelisted app ID here I get an empty list. I have rebooted the Cast and also done a factory reset to make sure the "Send this Chromecast's serial number to Google when checking for updates" is checked; it is. I am able to connect to the Cast

How can I get list of all cast devices using cast SDK?

假装没事ソ 提交于 2019-12-11 17:03:11
问题 I am struggling to get list of all chrome cast devices available in my network, I am able to make it work with there default implementation of adding a media router button in the action bar. What I want to achieve is to get list of all cast devices available including Fire stick and smart TV (basically all the devices which supports DIAL protocol). My list will contain all chrome cast devices and all DIAL protocol supported devices. I am using cast 3 SDK provided in android. 回答1: MediaRouter

Is it possible to create a Google Cast Sender application using HTML5 and javascript only? [closed]

此生再无相见时 提交于 2019-12-11 15:16:17
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . Can the Sender-Receiver communication in a cast sender application be implemented in pure javascript and run inside browser? Is the API only available for android and iOS? 回答1: No, you need to be able to read from the UDP port used to execute the M-SEARCH query in your

Use Game Manager API in a Remote Display app?

被刻印的时光 ゝ 提交于 2019-12-11 14:37:56
问题 Is it possible to use the Game Manager API (for synchronizing player data) in a Remote Display app? If there is, it doesn't seem like it is mentioned in the docs. The Game Manager API examples show that you need to use some JavaScript on the receiver end to make it work, but if you make a Remote Display app, you don't get the option to do that. 回答1: When using the remote display, as you noted, everything is happening on your phone/tablet so you should use libraries that are available on the

android-support-v7-appcompat has same attrs as actionbarsherlock library

空扰寡人 提交于 2019-12-11 13:57:12
问题 I'm trying to get chromecast integration in my app but I'm having build issues when I add the android-support-v7-appcompat to my project. Basically it has an attrs.xml file that has the same values as the actionbarsherlock attrs.xml file. Is there anyway around this? This seems kind of ridiculous that different libraries can possibly conflict resource values. 回答1: I just encounter the same problem and had a hard time for several hours figuring this out. this is how I solved it. You usually

How to Make A Custom Cast MediaRouter Dialog

余生长醉 提交于 2019-12-11 12:41:04
问题 I am currently using the CastCompanionLibrary in my project. It is working well, however I need to customize the behaviour of the Cast button. Currently, a dialog button containing the Cast devices is being shown (which is the expected behaviour). Also, when casting, the metadata and a stop/start button is shown. I need to customize this. I don't want to show the stop/start buttons. How can I achieve that? Here are the related parts of my code: <item android:id="@+id/media_route_menu_item"

what video formats supported by chromecast device (mp4,flv,m3u8,flv,avi)?

泄露秘密 提交于 2019-12-11 12:32:22
问题 How we can send mp4,m3u8,rtmp,flv,avi urls from iphone to chromecast to play them? Are these format supported by chromecast ? Do we need a specific iPhone app so it send mp4,m3u8,rtmp,flv,avi urls to chromecast? OR We can send media urls using iPhone chrome browser(i am not talking about screen mirroring here)? If we can send direct media urls via iphone to chromecast device how about sending url of media page instead of actual media url will chromecast device play the media ? 回答1: As Paul