diff --git a/sls.conf b/sls.conf index 9b5a937..e764303 100644 --- a/sls.conf +++ b/sls.conf @@ -16,24 +16,24 @@ srt { #SRT domain_publisher uplive.sls.com; backlog 100; #accept connections at the same time idle_streams_timeout 10;#s -1: unlimited - on_event_url http://192.168.31.106:8000/sls/on_event; #?method=on_connect|on_close&role_name=&srt_url=%s + #on_event_url http://192.168.31.106:8000/sls/on_event; #?method=on_connect|on_close&role_name=&srt_url=%s app { app_player live ; app_publisher live ; - relay { - type pull; - mode loop;#loop; hash; - reconnect_interval 10; - idle_streams_timeout -1;#s -1: unlimited - upstreams 127.0.0.1:9090?streamid=live.sls.com/live 192.168.1.100:8080/?streamid=live.test.com/live; - } - relay { - type push; - mode all; #all; hash - reconnect_interval 10; - idle_streams_timeout 10;#s -1: unlimited - upstreams 192.168.31.106:8080?streamid=uplive.sls.com/live ; - } + #relay { + # type pull; + # mode loop;#loop; hash; + # reconnect_interval 10; + # idle_streams_timeout -1;#s -1: unlimited + # upstreams 127.0.0.1:9090?streamid=live.sls.com/live 192.168.1.100:8080/?streamid=live.test.com/live; + #} + #relay { + # type push; + # mode all; #all; hash + # reconnect_interval 10; + # idle_streams_timeout 10;#s -1: unlimited + # upstreams 192.168.31.106:8080?streamid=uplive.sls.com/live ; + #} } } }