google-cast

Is there a way to analyze Chromecast crashes?

点点圈 提交于 2019-12-01 12:28:59
Obviously, after the crash Developer tools at port 9222 is of no use, because "Remote debugging has been terminated with reason: websocket_closed". How can I retrieve, for example, recorded timeline; or get call stack; or find anything about the reason the Chromecast decided to reboot itself? What are the best (or, for that matter, any) approach to debug Chromecast crashes? We need to look at your log file to see what is causing the crash. It is relatively easy to do that but we need some help from your side. First, open the Chromecast setup app on, say, your Android device and go to the

Chromecast Sender v2.7.0 lockscreen image

拜拜、爱过 提交于 2019-12-01 12:19:18
问题 How do we go about showing the lockscreen artwork for a chromecast sender app running v2.7.0 . I have spent the best part of about 2 days on this without any resolution. The v2.7.0 library currently has the following method in the VideoCastManager.java class: private void setBitmapForLockScreen(MediaInfo video) { if (video == null || mMediaSessionCompat == null) { return; } Uri imgUrl = null; Bitmap bm = null; List<WebImage> images = video.getMetadata().getImages(); if (Build.VERSION.SDK_INT

Google Cast SDK3 Android sample app is crashing on device below 5.0

安稳与你 提交于 2019-12-01 12:04:39
Ive tried the Google Cast Android sample app, and is crashing for device below 5.0. Anyone has any idea why? below is my crash log: 08­30 12:38:57.242: E/AndroidRuntime(16269): Caused by: java.lang.RuntimeException: com.google.android.gms.internal.zzsb$zza: No acceptable module found. Local version is 0 and remote version is 0. 08­30 12:38:57.242: E/AndroidRuntime(16269): at com.google.android.gms.internal.zzni.zzbg(Unknown Source) 08­30 12:38:57.242: E/AndroidRuntime(16269): at com.google.android.gms.internal.zzni.zza(Unknown Source) 08­30 12:38:57.242: E/AndroidRuntime(16269): at com.google

Is there a way to analyze Chromecast crashes?

末鹿安然 提交于 2019-12-01 10:13:14
问题 Obviously, after the crash Developer tools at port 9222 is of no use, because "Remote debugging has been terminated with reason: websocket_closed". How can I retrieve, for example, recorded timeline; or get call stack; or find anything about the reason the Chromecast decided to reboot itself? What are the best (or, for that matter, any) approach to debug Chromecast crashes? 回答1: We need to look at your log file to see what is causing the crash. It is relatively easy to do that but we need

Google Cast SDK3 Android sample app is crashing on device below 5.0

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 10:00:53
问题 Ive tried the Google Cast Android sample app, and is crashing for device below 5.0. Anyone has any idea why? below is my crash log: 08­30 12:38:57.242: E/AndroidRuntime(16269): Caused by: java.lang.RuntimeException: com.google.android.gms.internal.zzsb$zza: No acceptable module found. Local version is 0 and remote version is 0. 08­30 12:38:57.242: E/AndroidRuntime(16269): at com.google.android.gms.internal.zzni.zzbg(Unknown Source) 08­30 12:38:57.242: E/AndroidRuntime(16269): at com.google

How to keep GCKCastSession alive when app goes to background

China☆狼群 提交于 2019-11-30 16:42:41
I'm using latest Google Cast SDK for iOS (version 3.1.1.10003) and our app is remote controlling Google Cast devices, e.g. it changes their volume. It needs to do so also when our app goes to background. However, GCKSessionManager invokes suspendSessionWithReason: when the app goes to background. This said, the session will be suspended and thus our app can't control it any longer. How can I make GCKSessionManager not suspend sessions when apps go to background? Edit : I'm providing a solution below but that is not user friendly due to significant delays when reconnecting. In the latest Google

Is avc1.66.31,mp4a.40.2 supported by the Chromecast device?

天大地大妈咪最大 提交于 2019-11-30 09:07:36
问题 I have an m3u8 file that looks like this: #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=2048805,CODECS="avc1.66.31,mp4a.40.2",RESOLUTION=1280x720 chunklist_w517510829.m3u8 And I get the following error when trying to play it: Uncaught NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp2t; codecs="avc1.66.31,mp4a.40.2"') is unsupported. player.js:1682 Uncaught TypeError: undefined is not a function Strangely enough it plays fine on the

How to launch a receiver app in Chrome once Chromecast device has been whitelisted?

為{幸葍}努か 提交于 2019-11-30 07:22:10
I am trying to launch my custom receiver application from the Chrome browser. The first step in doing so appears to add a receiver listener for the activity type I'm interested in: cast_api = new cast.Api(); cast_api.addReceiverListener(activityType, onReceiverList); What should activityType be? I am able to put "YouTube" and "Netflix" and get a list of connected receivers, but when I put my whitelisted App-Id I do not get a list of Chromecast receivers. Is this something wrong with my whitelisting (perhaps giving an incorrect device serial code), or is it an incorrect understanding of what

How do I discover a Chromecast device using Android?

旧城冷巷雨未停 提交于 2019-11-30 06:44:19
I'd like to discover a Chromecast device and adjust the volume. Les Vogel - Google DevRel Get a device Get your device whitelisted (you'll need the device serial #, and a URL for your HTML5 receiver) You'll be sent two APPID (development / production) In your development environment make sure to update to Android Support Library v18 You'll be using MediaRouter Initialize import com.google.cast.CastContext; Context applicationContext = …; CastContext castContext = new CastContext(applicationContext); You'll need a MediaRouteButton < android.support.v7.app.MediaRouteButton android:id="@+id/media

Does the Google Cast extension for Google Chrome support 1080p? [closed]

北城以北 提交于 2019-11-30 04:39:00
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . In the Options for the Google Cast extension under 'Tab projection quality', there are three options: Extreme (720p high bitrate) High (720p) Standard (480p) 1080p is not listed. I assume if I play a 1080p video that it will work because it's sending the video url to Chromecast, but am I limited to 720p for