mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat: customize and lock WebRTC media ports
This commit is contained in:
1 parent
767bdea018
commit
baa09ad38c
10 files changed
+161
-23
No files matched your search
@@ -0,0 +1,7 @@
|
||||
/** Default WebRTC media port range used by WebSpeak and its Docker image. */
|
||||
export const DEFAULT_WEBRTC_UDP_PORT_RANGE: [number, number] = [40000, 40099];
|
||||
|
||||
// Kept as a public alias for callers that used the original fixed-range name.
|
||||
export const WEBRTC_UDP_PORT_RANGE = DEFAULT_WEBRTC_UDP_PORT_RANGE;
|
||||
export const WEBRTC_UDP_PORT_MIN = 1024;
|
||||
export const WEBRTC_UDP_PORT_MAX = 65535;
|
||||
Reference in new issue
Block a user