Skip to content

Commit

Permalink
Update sls.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward-Wu authored Feb 21, 2020
1 parent 835e400 commit d5e9f8f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions sls.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
#}
}
}
}

0 comments on commit d5e9f8f

Please sign in to comment.