summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-10-12 17:41:15 +0200
committerRory& <root@rory.gay>2026-10-12 17:42:24 +0200
commit538bace3fe528c9ec28cf358c455e5ec0f96555b (patch)
treedfffa9588b6aa76b830988ee1280ad8d789a7e0a
parentVoice opcode 11: always do toArray for clients connect (diff)
downloadserver-ts-538bace3fe528c9ec28cf358c455e5ec0f96555b.tar.xz
SelectProtocol always log connected clients
-rw-r--r--src/webrtc/opcodes/SelectProtocol.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webrtc/opcodes/SelectProtocol.ts b/src/webrtc/opcodes/SelectProtocol.ts

index 3efc2a73a..ab4b57151 100644 --- a/src/webrtc/opcodes/SelectProtocol.ts +++ b/src/webrtc/opcodes/SelectProtocol.ts
@@ -40,6 +40,7 @@ export async function onSelectProtocol(this: WebRtcWebSocket, payload: VoicePayl const { voiceRoomId } = this.webRtcClient; const connectedClients = mediaServer.getClientsForRtcServer<WebRtcWebSocket>(voiceRoomId); + console.log(`Connected clients for voice room ${voiceRoomId}:`, connectedClients); const clientConnectData = { user_ids: connectedClients .values()