feat: make WebRTC media service self-contained

This commit is contained in:
illusia committed 2026-09-03 10:56:39 +08:00
1 parent d6c8ccb73f
commit c7def28a8f
14 files changed
+160 -121

No files matched your search

-3
View File
@@ -333,9 +333,6 @@ function readSettingsInput(body: Record<string, unknown>): AdminSettingsInput {
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),
};
}