27 lines
541 B
Plaintext
27 lines
541 B
Plaintext
log_format rtmp '$remote_addr [$time_local] '
|
|
'$app $name $command';
|
|
|
|
server {
|
|
listen 1935;
|
|
chunk_size 4096;
|
|
|
|
access_log /dev/stdout;
|
|
|
|
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__;
|
|
}
|
|
}
|
|
|