args[] 로 주고 받음
객체로 주고받음
⚠️ 클라이언트 → 시그널링 서버로 발생하는 이벤트
💡 설명
다른 유저(소켓)에게 전달된다.⌨️ 인수 {
description?: RTCSessionDescription;candidate?: RTCIceCandidate;roomName: string; }
💡 설명
host 가 이 이벤트를 발동한다.roomNameGenerated(roomId) 를 emit 한다.⌨️ 인수 없음
💡 설명
host 가 이 이벤트를 발동한다.host 를 부여한다.roomCreated 를 emit 한다.⌨️ 인수 [
roomId: stringpassword: string ]
💡 설명
guest 가 이 이엡트를 발동한다.joinRoomFailed 를 emit 한다.roomFull 를 emit 한다.guest 를 부여한다.
다른 유저(소켓, host) 에 welcome 이벤트를 emit 한다.joinRoomSuccess 이벤트를 emit 한다.⌨️ 인수 [
roomId: stringpassword: string ]