Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- application live {
- live on;
- hls on;
- hls_path /tmp/hls;
- hls_fragment 3s;
- hls_playlist_length 10s;
- hls_sync 200ms;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- server {
- listen 80;
- location /hls {
- # Serve HLS fragments
- types {
- application/vnd.apple.mpegurl m3u8;
- }
- alias /tmp/hls;
- expires -1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement