upd sample conf

This commit is contained in:
2026-04-13 09:51:56 +03:00
parent 0e9b83711b
commit 8f9ce42fb1
+21 -10
View File
@@ -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__;
}
}