mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-03 11:34:11 +00:00
SelectProtocol always log connected clients
This commit is contained in:
1 parent
f5add0968a
commit
538bace3fe
1 file changed
+1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user