Skip to content

Instantly share code, notes, and snippets.

@mrbar42
mrbar42 / README.md
Last active June 18, 2024 16:43
Secured HLS setup with Nginx as media server

Secured HLS setup with Nginx as media server

This example is part of this article.

This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:

  • Domain filtering
  • Referrer filtering
  • Embed buster
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active June 20, 2024 16:35
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4