mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
feat(admin): manage WebRTC settings from console
This commit is contained in:
1 parent
ecff06e9a1
commit
5c3d1b7e5d
11 files changed
+163
-58
No files matched your search
@@ -332,6 +332,10 @@ function readSettingsInput(body: Record<string, unknown>): AdminSettingsInput {
|
||||
accessMode: body.accessMode === "open" ? "open" : body.accessMode === "fixed" ? "fixed" : body.accessMode as never,
|
||||
siteName: readString(body, "siteName", 80),
|
||||
welcomeText: readOptionalString(body, "welcomeText", 500),
|
||||
webRtcEnabled: body.webRtcEnabled === true,
|
||||
webRtcPublicHost: readOptionalString(body, "webRtcPublicHost", 253),
|
||||
webRtcUdpStart: readOptionalNumber(body, "webRtcUdpStart", 40000),
|
||||
webRtcUdpEnd: readOptionalNumber(body, "webRtcUdpEnd", 40099),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user