RTMP / HLS Nginx Config - 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: RTMP / HLS Nginx Config (/t-rtmp-hls-nginx-config) |
RTMP / HLS Nginx Config - kt7brwahvw - 2024-09-12 Hi, I'm trying to cross my t's and dot my i's so I'm making this post in an attempt to understand HLS a little bit, my system is almost 100% perfect this seems to be the last puzzle. My understanding is nginx needs the RTMP module installed and there should be specific nginx config set up for the location block to support HLS delivery. https://medium.com/@peer5/setting-up-hls-live-streaming-server-using-nginx-67f6b71758db I've searched the jellyfin nginx config docs for hls reference, but none was found. I've also done searches in this forum for RTMP but none was found, so I'm making this thread here to try to understand a little bit more about how jellyfin handles HLS delivery Stack: jellyfin web player -> domain resolving to home ip to router -> router forwards to home server -> home server nginx reverse proxies to home media server -> home media server has jellyfin docker container When playing a video file I see the transcoding happen with HLS flags. I also see in the jellyfin web player info panel the stream is hls supported. How is this working (and is it even working?) if my reverse proxy doesn't have HLS blocks set up (I don't even have RTMP compiled with nginx) - does the docker container on my home media server have this config all set up and working, and since my home server with the reverse proxy just forwards requests it doesn't need RTMP? I've used firefox's throttling tool in the network tab to try to test this out but this only seems to affect initial page load, it doesn't mimic dynamic internet speed changes on the fly. That said, regardless if I've selected No Throttling or something like 3G the web player still chooses 1080p 60mb/s .... so I can only assume HLS isn't working? https://firefox-source-docs.mozilla.org/devtools-user/responsive_design_mode/index.html#network-throttling Thanks in advance for helping my understanding! RE: RTMP / HLS Nginx Config - TheDreadPirate - 2024-09-12 You're over thinking this. HLS is just HTTP with bells and whistles. You don't need special blocks in Nginx to handle it. We have Nginx documentation here. https://jellyfin.org/docs/general/networking/nginx/ Jellyfin, itself, does not use RTMP. |