Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRT: Support multiple srt_server and ports #3473

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
18 changes: 17 additions & 1 deletion trunk/conf/srt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,23 @@ http_server {

srt_server {
enabled on;
listen 10080;
type push;
port 10080;
maxbw 1000000000;
connect_timeout 4000;
peerlatency 0;
recvlatency 0;
latency 0;
tsbpdmode off;
tlpktdrop off;
sendbuf 2000000;
recvbuf 2000000;
}

srt_server {
enabled on;
type pull;
port 10081;
maxbw 1000000000;
connect_timeout 4000;
peerlatency 0;
Expand Down
13 changes: 12 additions & 1 deletion trunk/conf/srt2rtc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,18 @@ http_server {

srt_server {
enabled on;
listen 10080;
type push;
port 10080;
maxbw 1000000000;
connect_timeout 4000;
peerlatency 0;
recvlatency 0;
}

srt_server {
enabled on;
type pull;
port 10081;
maxbw 1000000000;
connect_timeout 4000;
peerlatency 0;
Expand Down
Loading