

방 조회
방 생성
방 삭제
참가자 입장 : KurentoHandler(handleTextMSG)
“onIceCandidate” : 클라이언트가 ICE 후보를 서버에 전달하는데 NAT 통과와 같은 연결설정을 도움
ICE candidate생성
레지스트리에서 세션으로 조회된 유저에게 candidate 추가 (즉 outgoingMedia와 IngoingMedia에 추가하기)
“receiveVideoFrom” : SDP 정보를 교환하여 사용자들 간의 연결을 설정
Json에서 ‘sender’와 ‘sdpOffer’ 따로 가져옴
KurentoUserSession에서 ‘receiveVideoFrom()’ 호출 → IncomingMedia에 ‘sdpOffer’ 을 제공
“joinRoom”
KurentoManager를 통해 방 불러오기
KurentoRoomDto의 join() → joinRoom() →sendParticipantNames() → join()
! 여기서 좀 어색함 Dto 말고 userSessionService를 하나 만드는거?
참가자 퇴장 : KurentoHandler(handleTextMSG) a : id로 “leaveRoom”받기
leave() → removeparticipant() → close()WebSocketConfigurer
KurentoRoomDto
KurentoHandler (기능 호출) (TextWebSocketHandler)
KurentoUserRegistry (역할 + 기능)