#4
All checks were successful
Deploy / deploy (push) Successful in 44s

This commit is contained in:
Никита Круглицкий 2025-10-06 23:14:32 +06:00
parent 87b4c1489e
commit fbbb2b9b8e

View File

@ -259,12 +259,12 @@ export default function (io: SocketServer, router: types.Router) {
cb({ id: producer.id }) cb({ id: producer.id })
const otherSockets = await namespace.fetchSockets(socket.id) const otherSockets = await getJoinedSockets(socket.id)
for (const otherSocket of otherSockets) { for (const otherSocket of otherSockets) {
createConsumer( createConsumer(
socket,
otherSocket, otherSocket,
socket,
producer, producer,
) )
} }