We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b570b5c commit 843eefbCopy full SHA for 843eefb
backend/controllers/socket.js
@@ -50,7 +50,10 @@ module.exports = (http) => {
50
console.log('thisRoom', thisRoom);
51
52
// 유저 정보 추가
53
- io.sockets.in(roomId).emit('join', roomId, thisRoom);
+ io.sockets.in(roomId).emit('join', roomId, {
54
+ userId,
55
+ participants: thisRoom,
56
+ });
57
//console.log('ROOM LIST', io.sockets.adapter.rooms);
58
console.log('ROOM LIST', rooms);
59
});
backend/routes/urls.js
@@ -35,7 +35,7 @@ module.exports = [
35
renderFile: 'examples/screen-share/index.ejs',
36
},
37
{
38
- title: '파일 & 데이터 전송하기',
+ title: '데이터 채널로 파일 전송하기',
39
url: '/data-channel',
40
renderFile: 'examples/data-channel/index.ejs',
41
0 commit comments