This commit is contained in:
parent
fb5b42e9db
commit
d224ccc52e
@ -136,7 +136,7 @@ export default function (io: SocketServer, router: types.Router) {
|
|||||||
socket.data.username = username
|
socket.data.username = username
|
||||||
socket.data.rtpCapabilities = rtpCapabilities
|
socket.data.rtpCapabilities = rtpCapabilities
|
||||||
|
|
||||||
const joinedSockets = await getJoinedSockets()
|
const joinedSockets = await getJoinedSockets(socket.id)
|
||||||
|
|
||||||
cb(joinedSockets.map((s) => {
|
cb(joinedSockets.map((s) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user