Created
August 27, 2020 14:05
-
-
Save MParvin/2414b7629e1650087562c0f912ec8269 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
events{} | |
rtmp { | |
server { | |
listen 1935; | |
application live { | |
live on; | |
interleave on; | |
hls on; | |
hls_path /tmp/hls; | |
hls_fragment 15s; | |
} | |
} | |
} | |
http { | |
default_type application/octet-stream; | |
server { | |
listen 80; | |
location /tv { | |
root /tmp/hls; | |
} | |
} | |
types { | |
application/vnd.apple.mpegurl m3u8; | |
video/mp2t ts; | |
text/html html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment