Nginx hls forces download of .html file






















On Index. The password insert against IP on bash and nginx. I have trouble understanding what to do with the "bash" code at the beginning, I think I understand the rest but I'm completely stuck on how to generate the token in bash because at no time there is a link. Can you enlighten me?

No problem. The bash on beginning is a separate file. I'm specifying the shell bash. Skip to content. Sign in Sign up. Instantly share code, notes, and snippets.

Last active Nov 9, Code Revisions 4 Stars Forks Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist. Learn more about clone URLs.

Download ZIP. Secured HLS setup with Nginx as media server. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters. This comment has been minimized. Sign in to view. Active Oldest Votes. I take it you've reloaded the config or restarted nginx after the change?

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Now live: A fully responsive profile.

In order to do so add a pull directive under application section in nginx. Read on more available options here. To achieve the stream encoding and muxing we will use the almighty ffmpeg.

There are several source from which you can produce an rtmp stream. Now that we are pushing our stream into nginx, a manifest file in the format stream-name. Now that we are pushing an HLS stream into nginx, we need to make the most of your server capacity. To do this, add a P2P layer on top of your servers to maximize your site's scalability and ability to deliver high-quality video streams.



0コメント

  • 1000 / 1000