Jellyfin Forum
Limit simultaneous playback - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Limit simultaneous playback (/t-limit-simultaneous-playback)

Pages: 1 2


RE: Limit simultaneous playback - TheDreadPirate - 2024-01-17

My understanding is that there is no way to do this yet. And my conversation with the devs indicate it won't be in version 10.9 when that is released. At least not initially.

But this is a feature they definitely want to implement. But there is no ETA.

If you are using Nginx as your reverse proxy, you can experiment with configuring Nginx to restrict the number of connections per IP address.

https://docs.nginx.com/nginx/admin-guide/security-controls/controlling-access-proxied-http/


RE: Limit simultaneous playback - xenago - 2024-04-13

It's been a long time requested feature to close that major gap:
https://features.jellyfin.org/posts/1444/limit-the-number-of-simultaneous-streams-per-user

The session limit doesn't at all solve this, it just causes confusion.

I'm still holding out hope (maybe foolishly) that someone will see how important it is to add this limit, along with the other major missing piece of not nuking the library if there's a filesystem issue lol. At least the latter had this change merged so there is at least progress happening there, maybe we'll get lucky and someone will merge an implementation of the stream limit.


RE: Limit simultaneous playback - bitmap - 2024-04-14

You could....change the option listed above and do a session removal scheduled task every now and then. It's a kludge, but would fix the issue. Only problem is that I'm unsure how session clean affects *currently active* sessions (i.e., actively playing media). Another experiment would be to turn on the limit for user sessions to 1-2 and remove sessions anywhere from every eight hours to every hour and see how it affects folks. When you clear a session, it requires login from that device again, though.


RE: Limit simultaneous playback - AnonymousWebHacker - 2024-04-24

Just
1 - qos for limit maximum speed at which each IP can access to watch their videos.
or
2 - Nginx and data limit peer user tokeen

When a user is playing a video, every x time an authentication or token verification process is carried out on the server, where the authentication process has a way to catch it. So ?

You can configure nginx to specify that it detects the frame and leaves it valid only for that connection thread, the other accesses to view content, that it has the same token (same user), that it does not allow traffic with transcoded video content, video segmentation , or a raw video, only allowing you access to browse but not play a second time. I would let it play only when the first frame disappears.