chromecast

Chromecast sample sender application CastHelloText-chrome ends with error when trying to get session

◇◆丶佛笑我妖孽 提交于 2019-12-25 01:55:43
问题 I have problem with launching Google-Cast application similar to sample CastHelloText-chrome . I slightly modified example code for my specific purposes. The goal for creating this application is to send and show image data directly in Chromecast device . Particularly the difference between official sample and my code is in message format and its content, sent by sender application. Sender application took png image coded by base64 and send through message bus with custom namespace. Receiver

How to get custom data from receiver

限于喜欢 提交于 2019-12-24 21:22:01
问题 I'm attempting to integrate Chromecast into our app and I'm running into an issue with getting data from the receiver when joining an already running application. When first launching the application i set meta date with the RemoteMediaPlayer using public class CastMessageStream extends RemoteMediaPlayer { public void setMetadata(GoogleApiClient apiClient, CastingObject castingObject, String seriesId, String description, String episodeNumber, String title) { JSONObject payload =

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

Can you use android chromecast apis for a standalone java program?

假装没事ソ 提交于 2019-12-24 16:46:32
问题 Android chromecast api are in java..so in the theory they could be used in arbitrary java programs...am I correct? My intention would be to build a chromecast streaming server in java, so to stream local files. 回答1: If you intend to use Cast APIs, you will not be able to do that; most of the functionality is in the Google Play services. 来源: https://stackoverflow.com/questions/22995878/can-you-use-android-chromecast-apis-for-a-standalone-java-program

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

YouTube Player Integration with chromecast

北城以北 提交于 2019-12-24 03:54:05
问题 Is it possible to cast a video from youtube SDK for android ?. Currently am playing youTube videos using videoID (not url) in player.I am using latest YouTube SDK. 回答1: Currently there are no APIs available to accomplish this. Some folks, with varying degrees of success, have used the embedded (iframe) player. 来源: https://stackoverflow.com/questions/29850184/youtube-player-integration-with-chromecast