CharLee62 0 Posted March 9, 2017 Posted March 9, 2017 Hi there Since the last 5 or 6 updates, my Emby app looses its connexion to my Chromecast 2 all the time. It's very uncomfy Can you help me please ? I already tried to reset the Chromecast, in vain...
Luke 42077 Posted March 9, 2017 Posted March 9, 2017 Hi @@CharLee62, can you please provide an android app log from the time this happened? you can learn how to do that here: https://emby.media/community/index.php?/topic/15638-how-to-report-an-android-problem/ thanks !
zigzagtshirt 55 Posted March 13, 2017 Posted March 13, 2017 (edited) EDIT: sorry, Luke, quoted you by accident instead of the other guy. Edited March 13, 2017 by zigzagtshirt
zigzagtshirt 55 Posted March 13, 2017 Posted March 13, 2017 Hi there Since the last 5 or 6 updates, my Emby app looses its connexion to my Chromecast 2 all the time. It's very uncomfy Can you help me please ? I already tried to reset the Chromecast, in vain... Does the content continue to play on the chromecast despite the Emby app losing its connection?
CharLee62 0 Posted March 13, 2017 Author Posted March 13, 2017 Does the content continue to play on the chromecast despite the Emby app losing its connection? Yes !
zigzagtshirt 55 Posted March 13, 2017 Posted March 13, 2017 (edited) @@CharLee62 Same thing has always happened to me since as long as I can remember. I'll start playing something via Emby android + chromecast and within a minute or so my app will show no chromecast connection although the content continues to play on chromecast. Once I hit the chromecast button on the app again it will reconnect without any playback interruption and the playback status will reflect accurately on the on app. After another minute or so it will lose the connection again. Repeat. I thought it might be something quirky about my local network so I never cared to report it as a problem on here. Now I am wondering how many others experience this. It is pretty annoying and would love to get it fixed if possible. Post the logs as Luke has requested, and I will post my logs too when I get a chance. Edited March 13, 2017 by zigzagtshirt
CharLee62 0 Posted March 21, 2017 Author Posted March 21, 2017 Sorry for the late answer. Tried to reset my phone but nothing more happened... Here's my last logs : 02:12:45.422 [main] INFO App - Searching for com.google.android.webview 02:12:45.429 [main] INFO App - com.google.android.webview version name: 56.0.2924.87 02:12:45.429 [main] INFO App - com.google.android.webview version code: 292408750 02:12:45.429 [main] INFO App - Parsing 56 to determine chromium version 02:12:45.429 [main] INFO App - Chromium version: 56 02:12:46.092 [main] DEBUG App - AndroidSyncFileRepository started. syncPath: /storage/emulated/0/Android/data/com.mb.android/files/sync 02:12:46.345 [main] INFO App - Searching for com.google.android.webview 02:12:46.348 [main] INFO App - com.google.android.webview version name: 56.0.2924.87 02:12:46.349 [main] INFO App - com.google.android.webview version code: 292408750 02:12:46.349 [main] INFO App - Parsing 56 to determine chromium version 02:12:46.349 [main] INFO App - Chromium version: 56 02:12:46.391 [main] DEBUG App - Calling MediaSyncAdapter.updateSyncPreferences. syncPath: null 02:12:47.852 [JavaBridge] INFO App - Received instruction to updateCredentials 02:12:47.867 [JavaBridge] INFO App - AppVersion: 2.8.79 02:12:47.867 [JavaBridge] INFO App - DeviceId: 79967929211459d3 02:12:47.867 [JavaBridge] INFO App - DeviceName: Redmi Note 2 02:12:48.091 [JavaBridge] INFO App - initStore called 02:12:48.098 [JavaBridge] DEBUG App - IAB helper created. 02:12:48.100 [JavaBridge] DEBUG App - Starting in-app billing setup. 02:12:48.472 [main] INFO App - file:///android_asset/www/index.html: Line 0 : Uncaught (in promise) SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('file://') is not supported. 02:12:48.766 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 255.255.255.255 (DEFAULT) 02:12:48.808 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 192.168.0.255; Interface: wlan0 02:12:48.814 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Done looping over all network interfaces. Now waiting for a reply! 02:12:48.815 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: 192.168.0.20 02:12:48.816 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: {"Address":"http://192.168.0.20:8096","Id":"a0808286480a44f39c50a21a4caddf22","Name":"CharliePC"} 02:12:48.836 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: 192.168.0.20 02:12:49.120 [Thread-360] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: {"Address":"http://192.168.0.20:8096","Id":"a0808286480a44f39c50a21a4caddf22","Name":"CharliePC"} 02:12:49.365 [main] DEBUG App - Billing service connected. 02:12:49.369 [main] DEBUG App - Checking for in-app billing 3 support. 02:12:49.452 [main] DEBUG App - In-app billing version 3 supported for com.mb.android 02:12:49.510 [main] DEBUG App - Subscriptions AVAILABLE. 02:12:49.532 [main] DEBUG App - Starting async operation: refresh inventory 02:12:49.538 [Thread-361] DEBUG App - Querying owned items, item type: inapp 02:12:49.539 [Thread-361] DEBUG App - Package name: com.mb.android 02:12:49.597 [Thread-361] DEBUG App - Sku is owned: com.mb.android.unlock 02:12:49.601 [Thread-361] DEBUG App - Querying SKU details. 02:12:49.818 [Thread-360] DEBUG App - Server discovery timed out waiting for response. 02:12:49.819 [Thread-360] DEBUG App - Found 1 servers 02:12:49.846 [JavaBridge] INFO App - Received instruction to updateCredentials 02:12:49.925 [JavaBridge] INFO App - Executing chromecast action initialize request id: 1 02:12:49.928 [JavaBridge] INFO App - initialize origin_scoped 2D4B1DA3 2D4B1DA3 02:12:49.928 [JavaBridge] INFO App - lastAppId 2D4B1DA3 02:12:50.263 [JavaBridge] INFO App - Received instruction to updateCredentials 02:12:50.499 [Thread-361] DEBUG App - Querying owned items, item type: subs 02:12:50.499 [Thread-361] DEBUG App - Package name: com.mb.android 02:12:50.502 [Thread-361] DEBUG App - Querying SKU details. 02:12:50.665 [Thread-361] DEBUG App - Ending async operation: refresh inventory 02:12:50.673 [main] INFO App - Sending url to webView: IapManager.onStoreReady(); 02:12:50.702 [JavaBridge] INFO App - getPurchaseInfos 02:12:50.703 [JavaBridge] INFO App - Checking purchase status of com.mb.android.unlock 02:12:50.704 [JavaBridge] DEBUG App - Starting async operation: refresh inventory 02:12:50.706 [Thread-362] DEBUG App - Querying owned items, item type: inapp 02:12:50.707 [Thread-362] DEBUG App - Package name: com.mb.android 02:12:50.721 [Thread-362] DEBUG App - Sku is owned: com.mb.android.unlock 02:12:50.722 [Thread-362] DEBUG App - Querying SKU details. 02:12:51.148 [Thread-362] DEBUG App - Querying owned items, item type: subs 02:12:51.151 [Thread-362] DEBUG App - Package name: com.mb.android 02:12:51.154 [Thread-362] DEBUG App - Querying SKU details. 02:12:51.155 [Thread-362] DEBUG App - queryPrices: nothing to do because there are no SKUs. 02:12:51.156 [Thread-362] DEBUG App - Ending async operation: refresh inventory 02:12:51.158 [JavaBridge] INFO App - *** IsPurchased Result: com.mb.android.unlock Success 02:12:51.158 [JavaBridge] INFO App - Sending url to webView: window.IapManager.updateProduct("com.mb.android.unlock", true, "4,91 €") 02:12:51.160 [JavaBridge] INFO App - Checking purchase status of emby.supporter.monthly 02:12:51.162 [JavaBridge] DEBUG App - Starting async operation: refresh inventory 02:12:51.163 [Thread-363] DEBUG App - Querying owned items, item type: inapp 02:12:51.164 [Thread-363] DEBUG App - Package name: com.mb.android 02:12:51.168 [Thread-363] DEBUG App - Sku is owned: com.mb.android.unlock 02:12:51.168 [Thread-363] DEBUG App - Querying SKU details. 02:12:51.175 [Thread-363] DEBUG App - Querying owned items, item type: subs 02:12:51.175 [Thread-363] DEBUG App - Package name: com.mb.android 02:12:51.178 [Thread-363] DEBUG App - Querying SKU details. 02:12:51.179 [Thread-363] DEBUG App - queryPrices: nothing to do because there are no SKUs. 02:12:51.179 [Thread-363] DEBUG App - Ending async operation: refresh inventory 02:12:51.179 [JavaBridge] INFO App - *** IsPurchased Result: emby.supporter.monthly Failure 02:12:51.179 [JavaBridge] INFO App - Sending url to webView: window.IapManager.updateProduct("emby.supporter.monthly", false, "7,00 €") 02:12:51.332 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 2 02:12:53.980 [JavaBridge] INFO App - Executing chromecast action selectRoute request id: 3 02:12:53.983 [main] INFO App - Chromecast.createSession route CCChambre, id: com.google.android.gms/.cast.media.CastMediaRouteProviderService:566f5ae2026f14f9eb937d8614f4600f 02:12:54.023 [main] INFO App - ChromecastSession.connectToDevice 02:12:54.372 [main] INFO App - ChromecastSession.launchApplication 02:12:55.331 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 4 02:13:00.113 [main] INFO App - launchApplicationResultCallback success: true 02:13:00.178 [JavaBridge] INFO App - Executing chromecast action addMessageListener request id: 5 02:13:00.386 [JavaBridge] INFO App - Executing chromecast action sendMessage request id: 6 02:13:03.825 [main] INFO App - file:///android_asset/www/index.html#!/tv.html?topParentId=7c6b1294b30d4c722993e4036d0425ac: Line 0 : Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this. Please see https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/rail and https://crbug.com/574343#c40 for more information. 02:13:04.851 [JavaBridge] INFO App - Executing chromecast action sendMessage request id: 7 02:13:05.331 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 8 02:13:09.857 [JavaBridge] INFO App - Executing chromecast action sendMessage request id: 9 02:13:12.384 [JavaBridge] INFO App - Executing chromecast action initialize request id: 10 02:13:12.386 [JavaBridge] INFO App - initialize origin_scoped 2D4B1DA3 2D4B1DA3 02:13:12.386 [JavaBridge] INFO App - lastAppId 2D4B1DA3 02:13:13.404 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 11 02:13:17.404 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 12 02:13:23.295 [main] INFO App - file:///android_asset/www/index.html#!/nowplaying.html: Line 0 : Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this. Please see https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/rail and https://crbug.com/574343#c40 for more information. 02:13:25.831 [main] INFO App - SESSION DESTROYYYY 02:13:27.404 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 13 02:13:28.110 [main] INFO App - ChromecastSession.launchApplication 02:13:28.117 [main] INFO App - launchApplicationResultCallback success: true 02:13:32.075 [JavaBridge] INFO App - Executing chromecast action selectRoute request id: 14 02:13:32.077 [main] INFO App - Chromecast.createSession route CCChambre, id: com.google.android.gms/.cast.media.CastMediaRouteProviderService:566f5ae2026f14f9eb937d8614f4600f 02:13:32.078 [main] INFO App - ChromecastSession.connectToDevice 02:13:32.215 [main] INFO App - ChromecastSession.launchApplication 02:13:32.266 [main] INFO App - launchApplicationResultCallback success: true 02:13:32.335 [JavaBridge] INFO App - Executing chromecast action addMessageListener request id: 15 02:13:32.430 [JavaBridge] INFO App - Executing chromecast action sendMessage request id: 16 02:13:39.412 [JavaBridge] INFO App - Executing chromecast action sendMessage request id: 17 02:13:50.019 [main] INFO App - SESSION DESTROYYYY 02:13:50.138 [main] INFO App - ChromecastSession.launchApplication 02:13:50.145 [main] INFO App - launchApplicationResultCallback success: true 02:13:57.913 [JavaBridge] INFO App - Executing chromecast action selectRoute request id: 18 02:13:57.914 [main] INFO App - Chromecast.createSession route CCChambre, id: com.google.android.gms/.cast.media.CastMediaRouteProviderService:566f5ae2026f14f9eb937d8614f4600f 02:13:57.915 [main] INFO App - ChromecastSession.connectToDevice 02:13:59.084 [main] INFO App - SESSION DESTROYYYY 02:13:59.230 [main] INFO App - ChromecastSession.launchApplication 02:13:59.237 [main] INFO App - launchApplicationResultCallback success: true 02:14:02.183 [main] INFO App - ChromecastSession.launchApplication 02:14:02.232 [main] INFO App - launchApplicationResultCallback success: true 02:14:14.085 [main] INFO App - MainActivity.onPause 02:14:42.048 [main] INFO App - SESSION DESTROYYYY 02:14:42.049 [main] INFO App - SESSION DESTROYYYY 02:14:42.052 [main] INFO App - SESSION DESTROYYYY 02:14:42.271 [main] INFO App - ChromecastSession.launchApplication 02:14:42.278 [main] INFO App - launchApplicationResultCallback success: true 02:14:42.293 [main] INFO App - ChromecastSession.launchApplication 02:14:42.298 [main] INFO App - launchApplicationResultCallback success: true 02:14:42.329 [main] INFO App - ChromecastSession.launchApplication 02:14:42.527 [main] INFO App - launchApplicationResultCallback success: true 02:16:09.845 [main] INFO App - SESSION DESTROYYYY 02:16:10.514 [main] INFO App - ChromecastSession.launchApplication 02:16:10.520 [main] INFO App - launchApplicationResultCallback success: true 02:16:14.250 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 19 02:16:18.251 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 20 02:16:28.250 [JavaBridge] INFO App - Executing chromecast action emitAllRoutes request id: 21 02:17:23.826 [main] INFO App - MainActivity.onPause
Luke 42077 Posted March 22, 2017 Posted March 22, 2017 How do you define "loses connection"? Can you describe what happens with a little more detail? Thanks !
CharLee62 0 Posted March 22, 2017 Author Posted March 22, 2017 When i click the Cast button on the Android App, it connects to my Chromecast, i can lauch what i want to see on my TV and a few seconds later, when i try to fast forward, the app disconnects from the CC. Then when i try to reconnect, it connects a few seconds and disconnect quickly. Sometimes i can't reconnect at all... Enough details Luke ?
Luke 42077 Posted March 22, 2017 Posted March 22, 2017 What do you mean? when i try to fast forward, the app disconnects from the CC. What makes you think that it disconnects?
CharLee62 0 Posted March 22, 2017 Author Posted March 22, 2017 (edited) What do you mean? What makes you think that it disconnects? Because the Cast logo turns white, when it needs to be green when it's connected... Edit : When i say fast forward, it could be anything else or nothing at all Edited March 22, 2017 by CharLee62
ressu 13 Posted March 27, 2017 Posted March 27, 2017 I didn't want to start a new thread, but i'm seeing the codependency issues as well. Android app fails to maintain connection to the chromecast. I usually need to reconnect to chromecast whether I've put down the tablet for 1 minute or 1 hour. Playback works, but controlling chromecast can be a chore. While at the same time it's hard to keep Android connected, it's also hard to keep it disconnected. Even if the connection gets disconnected from the android app and eventually the playback ends and you move on to do other stuff with the chromecast. After a while emby hijacks the chromecast back from the other activity. So it appears that the app is trying hard to keep the connection going, but somehow failing to keep the connection up and failing to detect when it should be giving up. Just like mentioned above as well, I've been experiencing these issues for extended period.
CharLee62 0 Posted April 12, 2017 Author Posted April 12, 2017 Still no solution found... Can anyone help ?
Raven 6 Posted April 20, 2017 Posted April 20, 2017 Just thought I'd say I'm experiencing the same issue - have been for as long as I can remember.
Luke 42077 Posted April 20, 2017 Posted April 20, 2017 I have not been able to reproduce this but am continuing to test for it. Thanks. 1
Froghut 3 Posted April 22, 2017 Posted April 22, 2017 Just wanted to say same thing happens to me, starting playback on chromecast, after a few minutes the chromecast icon turns white and I can no longer remote control it, but content continues to play on chromecast.
zigzagtshirt 55 Posted April 24, 2017 Posted April 24, 2017 I have not been able to reproduce this but am continuing to test for it. Thanks. Luke, would you mind sharing what your test environment setup is? (emby server os, android device, chromecast model, network setup, etc). This seems to happen to many people, including myself. It might be helpful to compare your set up to what others have who experience this issue.
Luke 42077 Posted April 24, 2017 Posted April 24, 2017 I have a chromecast connected to a receiver and a nexus player also connected (which as CC built in).
zigzagtshirt 55 Posted April 24, 2017 Posted April 24, 2017 (edited) I have a chromecast connected to a receiver and a nexus player also connected (which as CC built in). Is it 1st or 2nd gen chromecast? or chromecast ultra? Are you using a standard "all-in-one" home router for your network? Seems to happen to me very often when using an all-in-one router and the 1st gen chromecast. Less often with the 2nd gen chromecast, but still frequent. When I ditched the all-in-one router and installed professional equipment, it stopped happening almost entirely with the 2nd gen chromecast. It still happens now and again with the 1st gen. I've never seen it happen with other cast apps at all, no matter what the setup is. Unfortunately, this is all anecdotal and I don't have any logs to back this up. Just my perceived experience and food for thought. Edited April 24, 2017 by zigzagtshirt
Luke 42077 Posted April 24, 2017 Posted April 24, 2017 It is a 1st gen chromecast, and then I also have an ultra that is not currently connected but I swap them in and out as needed. The thing to keep in mind is that the google cast libraries manage the connection, not us. In other words, we ask it to connect, it connects. If there's a disconnect, it tells us about it, etc.
ErichZann2 0 Posted February 9, 2018 Posted February 9, 2018 I have exactly this problem (Android app -> Chromecast 2), and some google told me that apparently a lot of users have the same. I also use Plex and Netflix, and I dont have any problems like that at all with those apps and the same setup. For that reason I feel that the developers here are a bit quick to throw all blame on Android / Chromecast directly, this seems a lot more common with Emby...
Luke 42077 Posted February 9, 2018 Posted February 9, 2018 I haven't thrown any blame on Chromecast. I would try the latest release of the app as there are remote control improvements. thanks !
ErichZann2 0 Posted February 9, 2018 Posted February 9, 2018 I haven't thrown any blame on Chromecast. I would try the latest release of the app as there are remote control improvements. thanks ! Do you mean a coming version, or the one that is out already? As I downloaded it just today, so I need to test a few days to see how often this happened. Just now it was ok when I kept the app in the foreground, but earlier I had the problem when I was switching to other apps and back (I assume that was the problem at least).
Luke 42077 Posted February 12, 2018 Posted February 12, 2018 The current release, although there are still areas where it can improve, thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now