Jellyfin Forum
Playback issues - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Playback issues (/t-playback-issues)



Playback issues - gothic0402 - 2023-06-26

Hey, I am having some very interesting and probably deep playback issues with Jellyfin over Tailscale

The setup I have is:

Server: Latest Jellyfin in Docker behind the Traefik reverse proxy with Tailscale installed on the host
DNS: Public DNS pointed to the server's Tailscale IP
Client: iOS with Tailscale

Everything works completely fine on the client connecting to the server using it's public domain name WHEN ON MY HOME WIFI where the server physically resides.

The issue appears only when I connect to mobile data to the server through Tailscale, and only with specific media files (some work fine) - here are examples of working and not working https://paste.sr.ht/~fourstepper/c28c1112fb26f26e6c63b39b5cf2e5800d48c73c

I am kind of lost on how to debug this further - in logs, it seems both media files are being transcoded due to incorrect audio and container formats no matter what network I am on, however on one network everything works for all media files and on the mobile network playback only works for specific titles.

From my very limited scope of knowledge I would guess this might have something to do with the client receiving the transcoded bits - maybe some issue with websockets over Tailscale?


RE: Playback issues - Venson - 2023-06-26

Hey @gothic0402

That does not sound like an issue with the connection but rather with your device.
What exactly do you mean by "not working"? is there an error message?


RE: Playback issues - gothic0402 - 2023-06-26

@Venson Hi, there isn't any error message, however the playback happens REALLY slowly. The LTE connection is around 10 Mbits, so it should be enough to play a 1080p video quite confidently, however the loading time is in the region of minutes. When it does load and play, it only plays that one chunk that it downloads and then stops again.

This is a bit different than if I connect my laptop through my phone over hotspot, where the wait time goes down to around 20s for the video to start after moving the playhead, however that also stutters every like 5 to 10 seconds of playback.

If I am on the same networking connecting through Tailscale, everything works near real time on both devices


RE: Playback issues - Venson - 2023-06-26

That really does not sounds like your bandwidth is sufficient, remember that the client has to download not only the chuck you are currently watching but also several seconds ahead. I assume your video is also transcoded and i assume your system might not be able to keep up with the stream.
Could you upload your ffmpeg logfile for that not working stream to pastbin or alike?