Demo of parallel segment downloading with multiple connections for my post from yesterday
The post from yesterday for anyone who seen that. I would recommend reading it first before downvoting this...
Ive made my server accessible from a tunnel to hopefully keep my IP private(Not a jellyfin server), The site is running locally on my server using a Starlink terminal as the host and running http so visit it at your own discretion, Otherwise watch the youtube video's!
Massive thanks to playit.gg for the tunnel, I'm not paid or affiliated with them in any way. Its a great tunnel service.
Keep in mind their is probably tunnel overhead reducing the speeds in someway, Even though this provider apparently doesn't use data caps or bandwidth limits, This is a free tunnel a direct connection would more than likely give even better results than this test.
EDIT I would like to disclose the site below was made with assistance from Chatgpt and Grok.
Site address: http://human-segments.gl.at.ply.gg:24892/ (Located in Brisbane Australia) Firefox is recommended for the best compatibility i replaced the video last moment and it seemed to broke playback on google, It defaults to 1 connection the same as jellyfin/plex, The user will have to swap to multiconnection to see the difference. The video is around 14mbps with 2s segments the bitrate is probably a bit too high for multiple users and far connections for my server even with this improvement. This would probably require some type of algorithm to intelligently adjust the segment size to keep the single segment file sizes low but not tiny to be compatible with all media out of the box, It might not this is beyond me at this point tbh I'm too sleep deprived.
Single connection playback (Bitrate too high for jellyfin/single tcp and buffers)
https://www.youtube.com/watch?v=NcA1wr-_EyY
Multiconnection playback (Plays back smoothly) Feature isn't supported by jellyfin/plex.
https://www.youtube.com/watch?v=bDOE8oSHVXU
The video on the site has had its audio stripped for the demo and their is probably worse performance on this than what jellyfin would have in both cases so it should be taken as a rough estimate. + the tunnel overhead
The amount of connections is limited to 6 by browsers this in theory could benefit from a native app using more or maybe scaling higher could be pointless.
Neither Plex or Jellyfin have this feature, I think it could put Jellyfin far ahead of plex or any self hosted media service for remote streaming on unstable/high ping connections if its implemented well.
Hopefully voting for the feature at their requests page would make this arrive sooner than later
https://features.jellyfin.org/posts/2171/better-internet-streaming-using-multiple-parallel-connections-or-threads
Apologies if any of this is breaking the rules i will remove any part the team is unhappy with at request.