Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swiftfin doesn't respect download Mbs limit #678

Closed
michpas opened this issue Jan 9, 2023 · 13 comments · Fixed by #1147
Closed

Swiftfin doesn't respect download Mbs limit #678

michpas opened this issue Jan 9, 2023 · 13 comments · Fixed by #1147
Labels
bug Something isn't working

Comments

@michpas
Copy link

michpas commented Jan 9, 2023

Describe the bug

  1. Goto jellyfin admin /dashboard/users/ set Internet streaming bitrate limit to 2
  2. Logout admin.
  3. Login as user / settings / playback / set home network quality & Chromecast quality to 480p -1.5 mbs
  4. Play a 1080p 4+ Mbps video on user in swiftfin
  5. Swiftin plays the file at original size (jellyfin states also: Device supports codecs

My expectations is Swiftin to respect the bitrate limit and not stream the original full size file

Use case: Ipad connecting to hotspot from mobilephone, to allow video streaming whilst traveling.

Application version

1.0.0 (79)

Where did you install the app from?

App Store

Device information

Ipad Air 3rd Gen

OS version

Ios 15.5

Jellyfin server version

10.8.8

@michpas michpas added the bug Something isn't working label Jan 9, 2023
@shimi-ke
Copy link

I can confirm my experience is the same. But I suspect the problem might be elsewhere (probably on a server). I think so because I have the same experience not only with Swiftin but with Infuse Pro as well. Both applications seem to ignore playback settings set on server.

When I tried to inspect logs on my jellyfin server I found out that the RemoteClientBitrateLimit is set correctly but the play_method is set to "DirectPlay" even if the bitrate exceeds the RemoteClientBitrateLimit. If I use the same profile but Jellyfin iOS app, the RemoteClientBitrateLimit is set correctly and the play method is "Transcode", which is intended behavior.

All applications are the latest versions and have been downloaded from the AppStore. I use them on my iPhone running iOS 16.2.

Jellyfin server is 10.8.8.

@LePips
Copy link
Member

LePips commented Jan 12, 2023

I do believe this would be a server issue as clients make a request for the streaming url. If transcoding is required, like in the event of server-set bitrate maximums, clients will (or should at least) use it. Regardless, I will investigate.

@Cloudcatcher888
Copy link

exactly same experience with @shimi-ke and @michpas using Infuse Pro and Swiftfin with a frp server (8Mbps)

@luyvlei
Copy link

luyvlei commented Jan 26, 2023

In my experience, the jellyfin use client cookies to control the default bitrate limit. When I clean the cookies of my chrome after change the default bitrate limit to 10Mbps, the bitrate limite will be reset to 'auto'. When a new device, e.g. swiftfin, login the server, the default bitrate limit will also be 'auto'.

So I think the swiftfin app should have a menu to change the default bitrate and the bitrate limit will work for this device since there is no menu to control the bitrate when playing the video.

My server is jellyfin 10.8.8 compiled by nyanmisaka.

@GravitySandwich
Copy link

GravitySandwich commented Apr 29, 2023

I still have the same issue on 10.8.10 and the latest swiftfin. Does not matter what device or network (iPadOS, iPhone, apple TV) I use. This makes playing blu-rays or any 4k content outside of my home network unusable.
It's the one thing holding me back from using swiftfin

@ShadowJonathan
Copy link

I'm having this issue constantly with the latest versions across all my devices, this is preventing me from installing and/or recommending jellyfin to others, since we have a very poor upload speed, and clients constantly try to cram the direct play bit rate (often over 20Mbps) into our ADSL upload speed (4-5 Mbps), even when I set a global limit of 4 Mbps, which then isn't picked up on.

@ShadowJonathan
Copy link

ShadowJonathan commented Nov 13, 2023

Related to #184; Swiftfin doesn't appear to support quality profiles at the moment.

Edit: It does, but this'll be fixed by #519

@ShadowJonathan
Copy link

I also found related code which causes the app to prefer direct play over transcoding (and reducing bandwidth)

@WolframCrem
Copy link

I also found related code which causes the app to prefer direct play over transcoding (and reducing bandwidth)

Mind saying where exactly ?

@jackhric
Copy link

Any update to this issue? This is the only thing holding me back from using Swiftfin permanently inside and outside of the house.

@WolframCrem
Copy link

@jackhric i'm working on a pr which will somewhat implement resolution for the max bit rate /Mbps

@jackhric
Copy link

@WolframCrem Awesome. Looking forward to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants