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 {
|
server {
|
||||||
listen 1935;
|
listen 1935;
|
||||||
chunk_size 4096;
|
chunk_size 4096;
|
||||||
|
|
||||||
application live {
|
access_log /dev/stdout;
|
||||||
live on;
|
|
||||||
record off;
|
|
||||||
allow publish all;
|
|
||||||
allow play all;
|
|
||||||
|
|
||||||
push rtmp://vsu.mycdn.me/input/____your__vkplay__stream___key___;
|
publish_notify on;
|
||||||
push rtmp://euc10.contribute.live-video.net/app/____your___twitch__stream___key__;
|
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