• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting RTMP / HLS Nginx Config

     
    • 0 Vote(s) - 0 Average

    RTMP / HLS Nginx Config

    kt7brwahvw
    Offline

    Junior Member

    Posts: 5
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:Bahamas
    #1
    2024-09-12, 01:31 PM
    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...f6b71758db

    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/...throttling

    Thanks in advance for helping my understanding!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-12, 02:25 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode