Properties
Readonly isVerbose
isVerbose: boolean
onIce
on
Ice: (iceDto: IceDto) => void
onNeedToOffer
onNeedToOffer: (socketIDs: string[]) => void
Type declaration
-
- (socketIDs: string[]): void
onPeerExitRoom
onPeerExitRoom: (exitedSocketID: string) => void
Type declaration
-
- (exitedSocketID: string): void
Readonly socket
socket: Socket<DefaultEventsMap, DefaultEventsMap>
RTCPeerConnection 객체의 signaling 에 사용되는 소켓연결을 책임지는 클레스 on 이벤트 : offer, answer, ice, needToOffer(socketIds: string) emit 이벤트 : offer, answer, ice, joinRoom(roomId:string)
backend 에 연결되어있는 socket.io
true 일 경우 log 를 출력함.