upd sample conf
This commit is contained in:
+21
-10
@@ -1,15 +1,26 @@
|
||||
log_format rtmp '$remote_addr [$time_local] '
|
||||
'$app $name $command';
|
||||
|
||||
server {
|
||||
listen 1935;
|
||||
chunk_size 4096;
|
||||
listen 1935;
|
||||
chunk_size 4096;
|
||||
|
||||
application live {
|
||||
live on;
|
||||
record off;
|
||||
allow publish all;
|
||||
allow play all;
|
||||
access_log /dev/stdout;
|
||||
|
||||
push rtmp://vsu.mycdn.me/input/____your__vkplay__stream___key___;
|
||||
push rtmp://euc10.contribute.live-video.net/app/____your___twitch__stream___key__;
|
||||
}
|
||||
publish_notify on;
|
||||
play_restart on;
|
||||
|
||||
application live {
|
||||
live on;
|
||||
record off;
|
||||
allow publish all;
|
||||
allow play all;
|
||||
|
||||
push_reconnect 1s;
|
||||
meta copy;
|
||||
|
||||
push rtmp://vsu.mycdn.me/input/____your__vkplay__stream___key___;
|
||||
push rtmp://euc10.contribute.live-video.net/app/____your___twitch__stream___key__;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user