feat: pass user id socket

This commit is contained in:
Rohit
2025-05-18 11:47:34 +05:30
parent 2726c69fa0
commit 2ba2e1a868

View File

@@ -24,6 +24,7 @@ export const initializeRemoteBrowserForRecording = (userId: string): string => {
const id = getActiveBrowserIdByState(userId, "recording") || uuid();
createSocketConnection(
io.of(id),
userId,
async (socket: Socket) => {
// browser is already active
const activeId = getActiveBrowserIdByState(userId, "recording");