Set the default port for WebRTC (#3175)

Set the default port for WebRTC to 8000 to prevent the generated default configuration file from disabling WebRTC features.
This commit is contained in:
Dw9 2023-12-29 10:53:47 +08:00 committed by GitHub
parent bcf0c719f1
commit 7c42ac4d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,8 +59,8 @@ static onceToken token([]() {
mINI::Instance()[kTimeOutSec] = 15;
mINI::Instance()[kExternIP] = "";
mINI::Instance()[kRembBitRate] = 0;
mINI::Instance()[kPort] = 0;
mINI::Instance()[kTcpPort] = 0;
mINI::Instance()[kPort] = 8000;
mINI::Instance()[kTcpPort] = 8000;
mINI::Instance()[kStartBitrate] = 0;
mINI::Instance()[kMaxBitrate] = 0;
@ -1380,4 +1380,4 @@ static onceToken s_rtc_auto_register([]() {
});
});
}// namespace mediakit
}// namespace mediakit