Streaming Performance With Limited Bandwidth #6336

Closed
opened 2026-02-07 03:29:23 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @DigitalCharon on GitHub (Oct 10, 2024).

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

I have ~15Mbps of bandwidth from the jellyin server to the client (tested with librespeed hosted on the same machine). The video stream I'm trying to play is ~2Mbps. 2 is significantly less than 15 but jellyfin cannot maintain the stream.
Screenshot_20241010_113035_Jellyfin
downloadfile

Reproduction steps

  1. have limited bandwidth
  2. try to stream something
  3. experience stutters and buffering

What is the current bug behavior?

stream stutters and buffers

What is the expected correct behavior?

stream plays properly

Jellyfin Server version

10.9.11+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.9.11

Environment

- OS:Ubuntu 24.04
- Linux Kernel: 6.8.0-45-generic
- Virtualization: docker
- Clients: android
- Browser: no
- FFmpeg Version: whatever's in the docker container
- Playback Method: direct play
- Hardware Acceleration: yes
- GPU Model: gpu in a galaxy fold 5. 
- Plugins: anidb, audiodb, kodi sync queue, musicbrainz, omdb, studio images, tmdb
- Reverse Proxy: apache2
- Base URL: /jellyfin
- Networking: wireguard
- Storage: 7 12tb drives in a zfs for media. pcie gen 4 ssd for logs/config

Jellyfin logs

There's not an error log for stream buffering is there?

FFmpeg logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @DigitalCharon on GitHub (Oct 10, 2024). ### This issue respects the following points: - [X] This is a **bug**, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found [here](https://jellyfin.org/contact/). - [X] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_. - [X] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue. - [X] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct). - [X] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one. ### Description of the bug I have ~15Mbps of bandwidth from the jellyin server to the client (tested with librespeed hosted on the same machine). The video stream I'm trying to play is ~2Mbps. 2 is significantly less than 15 but jellyfin cannot maintain the stream. ![Screenshot_20241010_113035_Jellyfin](https://github.com/user-attachments/assets/8adb2ff2-84aa-4d41-b7ba-e61240776567) ![downloadfile](https://github.com/user-attachments/assets/660b65c3-6078-497a-a6ae-220c2be59c3b) ### Reproduction steps 1. have limited bandwidth 2. try to stream something 3. experience stutters and buffering ### What is the current _bug_ behavior? stream stutters and buffers ### What is the expected _correct_ behavior? stream plays properly ### Jellyfin Server version 10.9.11+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.9.11 ### Environment ```markdown - OS:Ubuntu 24.04 - Linux Kernel: 6.8.0-45-generic - Virtualization: docker - Clients: android - Browser: no - FFmpeg Version: whatever's in the docker container - Playback Method: direct play - Hardware Acceleration: yes - GPU Model: gpu in a galaxy fold 5. - Plugins: anidb, audiodb, kodi sync queue, musicbrainz, omdb, studio images, tmdb - Reverse Proxy: apache2 - Base URL: /jellyfin - Networking: wireguard - Storage: 7 12tb drives in a zfs for media. pcie gen 4 ssd for logs/config ``` ### Jellyfin logs ```shell There's not an error log for stream buffering is there? ``` ### FFmpeg logs _No response_ ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bug label 2026-02-07 03:29:23 +03:00
Author
Owner

@felix920506 commented on GitHub (Oct 25, 2024):

You are likely facing a problem with QoS. TCP traffic generally gets higher priority than UDP traffic, which wireguard uses. There is no way we can fix this.

@felix920506 commented on GitHub (Oct 25, 2024): You are likely facing a problem with QoS. TCP traffic generally gets higher priority than UDP traffic, which wireguard uses. There is no way we can fix this.
Author
Owner

@DigitalCharon commented on GitHub (Oct 25, 2024):

Thats not the problem since both the speedtest and jellyfin stream go over the same vpn tunnel. Wouldve been nice if you waited for a reply before closing my issue

@DigitalCharon commented on GitHub (Oct 25, 2024): Thats not the problem since both the speedtest and jellyfin stream go over the same vpn tunnel. Wouldve been nice if you waited for a reply before closing my issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6336