Created
December 14, 2020 16:56
-
-
Save nhtua/d9f641a01a4300dfa79633285091e82f to your computer and use it in GitHub Desktop.
Config Nginx Rtmp
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; | |
chunk_size 4096; | |
application multiple { | |
live on; | |
record off; | |
push rtmp://a.rtmp.youtube.com/live2/<live-stream-id>; | |
push rtmp://127.0.01:1936/rtmp/<facebook-live-stream-id>; | |
} | |
application single { | |
live on; | |
record off; | |
push rtmp://a.rtmp.youtube.com/live2/<live-stream-id>; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment