Jellyfin Forum
SOLVED: Streaming Issue on Multiple Devices with Android and Android TV - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Streaming Issue on Multiple Devices with Android and Android TV (/t-solved-streaming-issue-on-multiple-devices-with-android-and-android-tv)

Pages: 1 2


Streaming Issue on Multiple Devices with Android and Android TV - wfreeman - 2023-11-27

Describe the bug


I am experiencing a streaming issue specifically when attempting to use multiple streams involving Android TV. When I start a movie stream on my television through Android TV and then try to initiate another stream on a mobile device or laptop (via the Android app or web interface), the second stream fails to load, showing only a loading spinner and not providing access to the list of movies.
Interestingly, if I start the first stream on an Android mobile device and then a second stream on Android TV, there are no issues, and both streams work correctly. Also, initiating multiple streams (3-4) exclusively through the Android app (not Android TV) and web interfaces does not cause any problems. The issue seems to be isolated to when a stream is initiated on Android TV. My processor is J4025 and it has its own graphics part, HD UHD Graphics 600. I am using this for hardware acceleration. I tried using Intel Quick Sync Video (QSV) and VAAPI, but I still have the same problem with both.

I set up hardware acceleration for Docker like this:
"cpu_priority": 50,
"devices": [
  {
      "CgroupPermissions": "rwm",
      "PathInContainer": "/dev/dri/renderD128",
      "PathOnHost": "/dev/dri/renderD128"
  }
],


When I watch movies on Android TV, the CPU usage is about 30 percent, so there should be enough power left.

To Reproduce

Begin streaming a movie on Android TV.
Attempt to start a second stream on an Android mobile device or laptop.
Expected behavior
I expect that starting a second stream on a mobile device or laptop should not impact the ongoing stream on Android TV, allowing for simultaneous streaming on multiple devices.

Actual behavior

The second stream on the Android device or laptop does not load, displaying a persistent loading spinner, and there is no access to the list of movies. This issue is specific to when a stream is initiated on Android TV.

Environment: 

Jellyfin Server Version: 10.8.10
Operating System: Synology DS220+
Device where the issue occurred: Android TV and Android (latest versions from Google Play)

Closed issue from github: https://github.com/jellyfin/jellyfin/issues/10628


RE: Streaming Issue on Multiple Devices with Android and Android TV - tmsrxzar - 2023-11-27

if you enable "Throttle Transcodes" from the jellyfin dashboard -> playback (at the bottom) does the behavior change?

(or if already enabled, disable)


RE: Streaming Issue on Multiple Devices with Android and Android TV - wfreeman - 2023-11-28

Wow, it looks like it works. I still need to test it more but it seems to be working. Thanks.


RE: Streaming Issue on Multiple Devices with Android and Android TV - derwagenistrot - 2024-02-15

Hello.

I have the similar issue.

Environment:

Jellyfin Server Version: 10.8.13
Runs on Synology DS2920+
Instaled via Docker

Devices
Andriod phone (Android 13.1)
Mi Box S (Android TV)
Web browser (Chrome)

Case 1.
Video payed on TV (via Mi Box S).
While viedo playing on TV cannot access to server on Android Phone.

Case 2.
Video is being played on Android Phone.
Once other user tries to play other video in web browser it starts, but the video on Android Phone pauses.
When Android Phone user unpauses video, the TV video pauses.

All cases take place within home network: all devices connected to same wifi network.


If additional info or logs are needed, please advice where to get them and how to provide to you.
Thank you in advance.


RE: Streaming Issue on Multiple Devices with Android and Android TV - TheDreadPirate - 2024-02-15

Are you restricting the number of simultaneous streams?


RE: Streaming Issue on Multiple Devices with Android and Android TV - derwagenistrot - 2024-02-16

No.
No restrictions at all.


RE: Streaming Issue on Multiple Devices with Android and Android TV - TheDreadPirate - 2024-02-16

Can you share your jellyfin logs with us?


RE: Streaming Issue on Multiple Devices with Android and Android TV - derwagenistrot - 2024-02-19

Of course.
Present log.
Video is playing on TV (Mi box S).
Cannot play video on Android Phone or Web.

[2024-02-19 20:29:29.763 +02:00] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.22.0.1" request
[2024-02-19 20:29:32.469 +02:00] [WRN] [56] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96" to "172.22.0.1" in 0:00:02.1048383 with Status Code 200
[2024-02-19 20:29:32.598 +02:00] [WRN] [73] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Capabilities/Full" to "172.22.0.1" in 0:00:03.9955042 with Status Code 204
[2024-02-19 20:29:33.166 +02:00] [WRN] [69] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/DisplayPreferences/usersettings?userId=82c7b41914454432beb46fa7689ceb96&client=emby" to "172.22.0.1" in 0:00:02.3011497 with Status Code 200
[2024-02-19 20:29:38.213 +02:00] [WRN] [13] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/System/ActivityLog/Entries?startIndex=0&limit=4&minDate=2024-02-12T18%3A29%3A37.726Z&hasUserId=false" to "172.22.0.1" in 0:00:00.8386619 with Status Code 200
[2024-02-19 20:29:38.219 +02:00] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/System/ActivityLog/Entries?startIndex=0&limit=7&minDate=2024-02-18T18%3A29%3A37.725Z&hasUserId=true" to "172.22.0.1" in 0:00:01.374147 with Status Code 200
[2024-02-19 20:29:38.405 +02:00] [WRN] [56] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Views" to "172.22.0.1" in 0:00:05.1736658 with Status Code 200
[2024-02-19 20:29:39.029 +02:00] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Items/2131792bd6e1a5d67af1ed90babc270e/Images/Logo?tag=012d9a291b52fc14624989b6f7859b43&maxHeight=24&maxWidth=130&quality=90" to "172.22.0.1" in 0:00:00.7816316 with Status Code 200
[2024-02-19 20:29:39.066 +02:00] [WRN] [56] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/web/assets/img/devices/chrome.svg" to "172.22.0.1" in 0:00:00.6584381 with Status Code 200
[2024-02-19 20:29:39.066 +02:00] [WRN] [69] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/web/assets/img/devices/android.svg" to "172.22.0.1" in 0:00:00.8185699 with Status Code 200
[2024-02-19 20:29:39.179 +02:00] [WRN] [113] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:14.6232927 with Status Code 204
[2024-02-19 20:29:39.772 +02:00] [WRN] [32] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Items/2131792bd6e1a5d67af1ed90babc270e/Images/Backdrop?maxWidth=384&tag=5fc2f43c2a2896620b4f8c1057464ba9&quality=80" to "172.22.0.1" in 0:00:01.5179769 with Status Code 200
[2024-02-19 20:29:47.394 +02:00] [WRN] [22] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:15.5282418 with Status Code 204
[2024-02-19 20:29:47.394 +02:00] [WRN] [95] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Views" to "172.22.0.1" in 0:00:08.9797144 with Status Code 200
[2024-02-19 20:29:49.327 +02:00] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:10.1324964 with Status Code 204
[2024-02-19 20:29:51.499 +02:00] [WRN] [76] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:04.0898486 with Status Code 204
[2024-02-19 20:29:52.626 +02:00] [WRN] [61] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:24.3704382 with Status Code 204
[2024-02-19 20:29:54.328 +02:00] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:04.9841119 with Status Code 204
[2024-02-19 20:29:57.598 +02:00] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/System/Info" to "172.22.0.1" in 0:00:00.8224287 with Status Code 200
[2024-02-19 20:29:57.859 +02:00] [WRN] [95] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/System/ActivityLog/Entries?startIndex=0&limit=7&minDate=2024-02-18T18%3A29%3A55.088Z&hasUserId=true" to "172.22.0.1" in 0:00:00.7281725 with Status Code 200
[2024-02-19 20:29:58.207 +02:00] [WRN] [76] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:06.6995335 with Status Code 204
[2024-02-19 20:30:00.265 +02:00] [WRN] [13] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:07.6297494 with Status Code 204
[2024-02-19 20:30:02.521 +02:00] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:08.183944 with Status Code 204
[2024-02-19 20:30:05.010 +02:00] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:06.7893455 with Status Code 204
[2024-02-19 20:30:05.014 +02:00] [WRN] [56] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/Latest?Limit=12&ParentId=78ee018b5034640ba414833f0fe9d6b3" to "172.22.0.1" in 0:00:04.9917527 with Status Code 200
[2024-02-19 20:30:09.544 +02:00] [WRN] [13] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:09.2652264 with Status Code 204
[2024-02-19 20:30:12.504 +02:00] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:09.9693383 with Status Code 204
[2024-02-19 20:30:13.614 +02:00] [WRN] [28] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:40.0709271 with Status Code 204
[2024-02-19 20:30:15.900 +02:00] [WRN] [28] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:02.2823051 with Status Code 204
[2024-02-19 20:30:15.901 +02:00] [WRN] [68] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Items/Counts?api_key=b35612b344c74de7956f495e44e66e3e" to "172.22.0.1" in 0:00:48.5292745 with Status Code 200
[2024-02-19 20:30:17.751 +02:00] [WRN] [61] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:14.1867562 with Status Code 204
[2024-02-19 20:30:20.856 +02:00] [WRN] [24] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:06.466554 with Status Code 204
[2024-02-19 20:30:20.859 +02:00] [WRN] [22] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video" to "172.22.0.1" in 0:00:33.4482271 with Status Code 200
[2024-02-19 20:30:23.448 +02:00] [WRN] [28] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:07.5349895 with Status Code 204
[2024-02-19 20:30:23.450 +02:00] [WRN] [25] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Views" to "172.22.0.1" in 0:00:06.1192841 with Status Code 200
[2024-02-19 20:30:26.083 +02:00] [WRN] [101] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:12.6936714 with Status Code 204
[2024-02-19 20:30:27.999 +02:00] [WRN] [24] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:06.3720424 with Status Code 204
[2024-02-19 20:30:31.243 +02:00] [WRN] [101] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:03.6127289 with Status Code 204
[2024-02-19 20:30:31.244 +02:00] [WRN] [105] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Views" to "172.22.0.1" in 0:00:07.790265 with Status Code 200
[2024-02-19 20:30:33.043 +02:00] [WRN] [61] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:14.4243335 with Status Code 204
[2024-02-19 20:30:33.045 +02:00] [WRN] [73] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Items/Counts?api_key=b35612b344c74de7956f495e44e66e3e" to "172.22.0.1" in 0:01:00.3690686 with Status Code 200
[2024-02-19 20:30:35.557 +02:00] [WRN] [41] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:04.9096575 with Status Code 204
[2024-02-19 20:30:38.011 +02:00] [WRN] [83] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:13.3822865 with Status Code 204
[2024-02-19 20:30:38.013 +02:00] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/45b2d51ede549eb5fae932f9d536c4a2" to "172.22.0.1" in 0:00:25.5081317 with Status Code 200
[2024-02-19 20:30:38.014 +02:00] [WRN] [22] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video" to "172.22.0.1" in 0:00:17.1442505 with Status Code 200
[2024-02-19 20:30:38.023 +02:00] [WRN] [95] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/450f0ccd79fcab15e97f88d2d8ca4689" to "172.22.0.1" in 0:00:31.1383237 with Status Code 200
[2024-02-19 20:30:40.726 +02:00] [WRN] [28] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:07.0633721 with Status Code 204
[2024-02-19 20:30:40.733 +02:00] [WRN] [113] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/9ae82fb7439a37bd67364d1f63576a3d" to "172.22.0.1" in 0:00:32.8476575 with Status Code 200
[2024-02-19 20:30:44.088 +02:00] [WRN] [41] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:07.4231205 with Status Code 204
[2024-02-19 20:30:46.607 +02:00] [WRN] [25] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:03.9243501 with Status Code 204
[2024-02-19 20:30:46.608 +02:00] [WRN] [56] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/a28bbc46fbc9422e7581d3120e88aa12" to "172.22.0.1" in 0:00:41.5837591 with Status Code 200
[2024-02-19 20:30:46.617 +02:00] [WRN] [22] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video" to "172.22.0.1" in 0:00:08.5948141 with Status Code 200
[2024-02-19 20:30:46.623 +02:00] [WRN] [13] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/3041aef72ad994c7a96f4775002c73e6" to "172.22.0.1" in 0:00:37.0789092 with Status Code 200
[2024-02-19 20:30:51.351 +02:00] [WRN] [95] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:11.6724505 with Status Code 204
[2024-02-19 20:30:58.494 +02:00] [WRN] [13] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Sessions/Playing/Progress" to "172.22.0.1" in 0:00:09.795405 with Status Code 204
[2024-02-19 20:31:00.449 +02:00] [WRN] [20] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.69:43913/Users/82c7b41914454432beb46fa7689ceb96/Items/c58816a65b191c4d8dc83486cb8104b4" to "172.22.0.1" in 0:00:49.061369 with Status Code 200


RE: Streaming Issue on Multiple Devices with Android and Android TV - TheDreadPirate - 2024-02-19

Share it on sourcebin or pastebin. It is unreadable here and the character limit isn't high enough to contain the entire log.

Also, go to Dashboard > Logs and uncheck the box for "slow to answer" messages.


RE: Streaming Issue on Multiple Devices with Android and Android TV - derwagenistrot - 2024-02-27

Sorry for late answer

https://pastebin.com/XBZiH9hM