feat: customize and lock WebRTC media ports

This commit is contained in:
illusia committed 2026-09-03 16:28:49 +08:00
1 parent 767bdea018
commit baa09ad38c
10 files changed
+161 -23

No files matched your search

+1
View File
@@ -740,6 +740,7 @@ export class VoiceBridge {
const peer = new WebRtcAudioSession({
connectionId: entry.id,
...(entry.webrtcPublicHost ? { publicHost: entry.webrtcPublicHost } : {}),
udpPortRange: config.udpPortRange,
logger: this.logger,
microphoneMuted: offer.muted === true,
onVoiceFrame: (data) => {