Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. application live {
  2. live on;
  3. hls on;
  4. hls_path /tmp/hls;
  5. hls_fragment 3s;
  6. hls_playlist_length 10s;
  7. hls_sync 200ms;
  8. }
  9.  
  10. http {
  11. include mime.types;
  12. default_type application/octet-stream;
  13.  
  14. server {
  15. listen 80;
  16. location /hls {
  17.  
  18. # Serve HLS fragments
  19. types {
  20. application/vnd.apple.mpegurl m3u8;
  21. }
  22. alias /tmp/hls;
  23. expires -1;
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement