u/FixOne4699

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.

reddit.com
u/FixOne4699 — 9 days ago
▲ 52 r/Starlink+1 crossposts

Whats the single connection speedtest typically look like?

I have discovered most of the self hosted services i use like plex/jellyfin and file transferring services only utilize 1 tcp connection at a time which is severely limiting the amount of bandwidth out of network devices can receive through these services

Speedtest with multiconnection
https://www.speedtest.net/result/19178567203

Speedtest with single connection
https://www.speedtest.net/result/19178568980

My single connection upload speed is quite low compared to my multiconnection averaging 4-12mbps which is limiting how much bandwidth a single video stream or upload can utilize because none of my services are designed for multiple tcp connections

I got chatgpt to create a HTML site that splits my desired download file into chunks so it could use multiple tcp connections to download simultaneously and it averaged 20-40mbps over ipv6 to my phone much faster than 1 connection

Would anyone know of any file transferring apps or self hosted media services that can use more than 1 tcp connection per user so a single client can use the full upload speed?

u/FixOne4699 — 10 days ago