google-cast

DIAL Launch parameters for Chromecast receiver app

£可爱£侵袭症+ 提交于 2019-12-25 01:22:11
问题 I am able to launch Chromecast app via standard DIAL. However, the launch parameters (either query string or POST data) do not reach the receiver app. Does anyone how to get launcher parameters to a Chromecast receiver app without using Google Cast API on the sender side? Some context: trying to do a Chromecast sender app without using Google Cast API. Thanks Alex 来源: https://stackoverflow.com/questions/20577221/dial-launch-parameters-for-chromecast-receiver-app

Google Cast SDK RemoteMediaPlayer web video casting e.g. YouTube

夙愿已清 提交于 2019-12-24 18:16:26
问题 i am new to the google cast development. Currently i've successfully developed an app that can cast online media (e.g. this mp3) by using the RemoteMediaPlayer class. Now i have tried to cast an YouTube video (this video) by using the same technique but it won't start casting. The callback of GoogleApiClient.load() says that the operation was not successful. So, is it possible to cast a YouTube video (or another streaming platform videos such as vimeo) by using the RemoteMediaPlayer class?

What is the maximum size of a message in the Cast SDK?

夙愿已清 提交于 2019-12-24 16:52:56
问题 I am trying to figure out what the maximum size of a message between sender and receiver is. In certain cases in my app I need to send fairly large messages. I know there is a maximum size, and so I would need to send my message in separate parts. But other than for Media Playback messages, I cannot find anywhere in the documentation that states the max amount of bytes a message can be. The Media messages docs explain that in the media namespace "the transport message maximum size is

What is the maximum size of a message in the Cast SDK?

强颜欢笑 提交于 2019-12-24 16:51:16
问题 I am trying to figure out what the maximum size of a message between sender and receiver is. In certain cases in my app I need to send fairly large messages. I know there is a maximum size, and so I would need to send my message in separate parts. But other than for Media Playback messages, I cannot find anywhere in the documentation that states the max amount of bytes a message can be. The Media messages docs explain that in the media namespace "the transport message maximum size is

How to properly connect to Google Cast device and cast an url with an custom receiver?

跟風遠走 提交于 2019-12-24 14:23:02
问题 For creating this I used Google Cast reference at Github https://github.com/googlecast/CastHelloText-ios & https://github.com/googlecast/CastVideos-ios Then if you downloaded it have a look at my block of code that has to do with Google Cast. If you see something that makes this error happen, please let me know. Because I honestly don't know if this a Xcode or a Google Cast bug.. or is the most common error.. Humans Start the emulator, it wil look for active Chrome Cast devices in the network

Unexpected connected message for already connected sender

自古美人都是妖i 提交于 2019-12-24 12:17:16
问题 I'm developing a custom cast receiver based on Cast-Player-Sample. I'm getting "Unexpected connected message for already connected sender" and "Unexpected sender already registered". Why? I can't figure it out why I'm getting this. How can I track this down? What is triggering this? More screen shots comparing mine version with Cast-Player-Sample : Mine Sample 回答1: I think I figured it out. I used the player.js code from Cast-Player-Sample without modifying anything and I still would see

Android MediaMetaData image for Cast Dialog

孤者浪人 提交于 2019-12-24 08:33:03
问题 Noticing something strange with the cast dialog. Using the MediaInfo.Builder to prepare MediaInfo for a call to RemoteMediaClient.load(mediainfo), if the same image URL is used for MediaMetaData.addImage this time as was used in the prior call the image does not show up in the dialog. Any ideas? 来源: https://stackoverflow.com/questions/42348635/android-mediametadata-image-for-cast-dialog

Google Cast iOS SDK v3.3 archive upload issue

不羁岁月 提交于 2019-12-24 06:45:50
问题 I use latest version of Xcode (8.2.1 b8C1002) and latest version of GoogleCast.framework (3.3.0) Obviously i followed these steps to integrate the SDK When i try to upload my archived application i found these issues someone had this trouble and found a solution? Thanks in advance 回答1: iOS Sender v3.3 added a shell script strip_unused_archs.sh to the SDK package that strips unused architectures from an app bundle. This enables submitting to the App Store. For example, this script removes

Android: Get current playing media on Chromecast?

好久不见. 提交于 2019-12-24 02:16:30
问题 I'm working on an app that controls the Chromecast and whatever's playing on it. I don't want a sender app, I don't want to register anything to get an api key, none of that stuff. I'm using so far MediaRouter to control the volume and to see if it's connected to anything. But I want something like the Google Cast app: Which knows what's playing and (or at least) the playback state. Ideally I wouldn't want to use google play services, but if it's the only way, c'est la vie. 回答1: I finally

Chromecast Receiver App Error: The WebSocket disconnected unexpectedly: undefined

帅比萌擦擦* 提交于 2019-12-24 01:45:14
问题 I'm trying to get a basic chromecast app setup where I can send a simple custom message from Desktop Chrome to the Chromecast receiver. The devices is whitelisted, and the app sources are sitting at the url specified during the whitelisting process. Additionally the correct API_ID is being used and the NAMESPACE is the same for the receiver and sender apps. The receiver app loads, but just after that I get: [ 0.230s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined This