이벤트 인수

[ ] 로 되어있을 경우

args[] 로 주고 받음

{ } 로 되어있을 경우

객체로 주고받음

🌟 Signalling Server On Events

⚠️ 클라이언트 → 시그널링 서버로 발생하는 이벤트

connection

💡 설명

⌨️ 인수 { description?: RTCSessionDescription; candidate?: RTCIceCandidate; roomName: string; }

generateRoomName

💡 설명

⌨️ 인수 없음

createRoom

💡 설명

⌨️ 인수 [ roomId: string password: string ]

joinRoom

💡 설명

⌨️ 인수 [ roomId: string password: string ]

checkRoomExist