chatforyou-io / front-chatforyou-io

https://front-chatforyou-io.vercel.app
1 stars 0 forks source link

[프론트] 새로고침시 방 연결 불안정 #6

Open junotb opened 2 hours ago

SeJonJ commented 2 hours ago

백엔드 webhook 로그

2024-11-01T13:54:13.477Z INFO 1 --- [chatforyou.io] [nio-8443-exec-3] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=PARTICIPANT_JOINED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469253474, participantId=con_camera_31, connectionId=con_camera_31, location=unknown, ip=10.244.1.0, platform=Chrome 130.0.0.0 on OS X 10.15.7 64-bit, clientData={"clientData":"50360ae2-5212-447d-9b7d-b39d4ae6e285"}, serverData={openviduCustomConnectionId=camera_31}, streamId=null, connection=null, videoSource=null, videoFramerate=0, audioEnabled=false, videoEnabled=false, startTime=0, duration=0, reason=null, receivingFrom=null, videoDimensions=null) 2024-11-01T13:54:13.559Z INFO 1 --- [chatforyou.io] [nio-8443-exec-4] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_CREATED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469253548, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_AzkP_con_camera_32, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=0, duration=0, reason=null, receivingFrom=con_camera_32, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:54:14.910Z INFO 1 --- [chatforyou.io] [nio-8443-exec-5] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_CREATED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469254904, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Vf7Z_con_camera_31, connection=OUTBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=0, duration=0, reason=null, receivingFrom=null, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:54:14.985Z INFO 1 --- [chatforyou.io] [nio-8443-exec-6] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_CREATED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469254976, participantId=con_camera_32, connectionId=con_camera_32, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Vf7Z_con_camera_31, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=0, duration=0, reason=null, receivingFrom=con_camera_31, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:58:27.121Z INFO 1 --- [chatforyou.io] [nio-8443-exec-1] com.chatforyou.io.client.OpenVidu : Available session '50360ae2-5212-447d-9b7d-b39d4ae6e285' info fetched. Any change: true 2024-11-01T13:58:27.123Z INFO 1 --- [chatforyou.io] [nio-8443-exec-1] com.chatforyou.io.client.OpenVidu : Available session 'b18d01e8-eaa2-4868-adc8-9a0169b006c2' info fetched. Any change: false 2024-11-01T13:58:27.123Z INFO 1 --- [chatforyou.io] [nio-8443-exec-1] com.chatforyou.io.client.OpenVidu : Active sessions info fetched: [b18d01e8-eaa2-4868-adc8-9a0169b006c2, 50360ae2-5212-447d-9b7d-b39d4ae6e285] 2024-11-01T13:58:27.136Z INFO 1 --- [chatforyou.io] [pool-5-thread-9] com.chatforyou.io.utils.ThreadUtils : === Save User Token Job Success === 2024-11-01T13:58:27.137Z INFO 1 --- [chatforyou.io] [ool-5-thread-10] com.chatforyou.io.utils.ThreadUtils : === Join User Job Success === 2024-11-01T13:58:27.225Z INFO 1 --- [chatforyou.io] [nio-8443-exec-2] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=PARTICIPANT_JOINED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507212, participantId=con_camera_31, connectionId=con_camera_31, location=unknown, ip=10.244.1.0, platform=Chrome 130.0.0.0 on OS X 10.15.7 64-bit, clientData={"clientData":"50360ae2-5212-447d-9b7d-b39d4ae6e285"}, serverData={openviduCustomConnectionId=camera_31}, streamId=null, connection=null, videoSource=null, videoFramerate=0, audioEnabled=false, videoEnabled=false, startTime=0, duration=0, reason=null, receivingFrom=null, videoDimensions=null) 2024-11-01T13:58:27.230Z INFO 1 --- [chatforyou.io] [nio-8443-exec-3] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_DESTROYED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507213, participantId=con_camera_32, connectionId=con_camera_32, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Vf7Z_con_camera_31, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=1730469254976, duration=252, reason=null, receivingFrom=con_camera_31, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:58:27.235Z INFO 1 --- [chatforyou.io] [nio-8443-exec-4] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_DESTROYED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507214, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_AzkP_con_camera_32, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=1730469253548, duration=253, reason=null, receivingFrom=con_camera_32, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:58:27.240Z INFO 1 --- [chatforyou.io] [nio-8443-exec-5] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_DESTROYED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507215, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Vf7Z_con_camera_31, connection=OUTBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=1730469254904, duration=252, reason=null, receivingFrom=null, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:58:27.245Z INFO 1 --- [chatforyou.io] [nio-8443-exec-6] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=PARTICIPANT_LEFT, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507217, participantId=con_camera_31, connectionId=con_camera_31, location=unknown, ip=10.244.1.0, platform=Chrome 130.0.0.0 on OS X 10.15.7 64-bit, clientData={"clientData":"50360ae2-5212-447d-9b7d-b39d4ae6e285"}, serverData={openviduCustomConnectionId=camera_31}, streamId=null, connection=null, videoSource=null, videoFramerate=0, audioEnabled=false, videoEnabled=false, startTime=1730469507212, duration=0, reason=null, receivingFrom=null, videoDimensions=null) 2024-11-01T13:58:27.250Z INFO 1 --- [chatforyou.io] [pool-5-thread-1] com.chatforyou.io.utils.ThreadUtils : === Delete Participant Connection CONNECTION_CAMERA Job Success === 2024-11-01T13:58:27.251Z INFO 1 --- [chatforyou.io] [pool-5-thread-2] com.chatforyou.io.utils.ThreadUtils : === Left User Job Success === 2024-11-01T13:58:27.343Z INFO 1 --- [chatforyou.io] [nio-8443-exec-8] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_CREATED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507334, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_AzkP_con_camera_32, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=0, duration=0, reason=null, receivingFrom=con_camera_32, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:58:27.658Z INFO 1 --- [chatforyou.io] [nio-8443-exec-7] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_CREATED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507649, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Naim_con_camera_31, connection=OUTBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=0, duration=0, reason=null, receivingFrom=null, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:58:27.784Z INFO 1 --- [chatforyou.io] [io-8443-exec-10] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_CREATED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469507772, participantId=con_camera_32, connectionId=con_camera_32, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Naim_con_camera_31, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=0, duration=0, reason=null, receivingFrom=con_camera_31, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:59:43.913Z INFO 1 --- [chatforyou.io] [nio-8443-exec-2] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_DESTROYED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469583819, participantId=con_camera_31, connectionId=con_camera_31, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_AzkP_con_camera_32, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=1730469507334, duration=76, reason=disconnect, receivingFrom=con_camera_32, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:59:43.918Z INFO 1 --- [chatforyou.io] [nio-8443-exec-3] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_DESTROYED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469583820, participantId=con_camera_32, connectionId=con_camera_32, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_Naim_con_camera_31, connection=INBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=1730469507772, duration=76, reason=disconnect, receivingFrom=con_camera_31, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:59:43.924Z INFO 1 --- [chatforyou.io] [nio-8443-exec-4] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=WEBRTC_CONNECTION_DESTROYED, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469583821, participantId=con_camera_32, connectionId=con_camera_32, location=null, ip=null, platform=null, clientData=null, serverData=null, streamId=str_CAM_AzkP_con_camera_32, connection=OUTBOUND, videoSource=CAMERA, videoFramerate=30, audioEnabled=true, videoEnabled=true, startTime=1730469245974, duration=337, reason=disconnect, receivingFrom=null, videoDimensions=OpenViduWebhookData.VideoDimensions(width=0, height=0)) 2024-11-01T13:59:43.928Z INFO 1 --- [chatforyou.io] [nio-8443-exec-5] c.c.i.s.impl.OpenViduWebhookServiceImpl : ====== WebHookData ::: OpenViduWebhookData(event=PARTICIPANT_LEFT, sessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285, uniqueSessionId=50360ae2-5212-447d-9b7d-b39d4ae6e285_1730469243110, timestamp=1730469583822, participantId=con_camera_32, connectionId=con_camera_32, location=unknown, ip=10.244.1.0, platform=Chrome 130.0.0.0 on OS X 10.15.7 64-bit, clientData={"clientData":"50360ae2-5212-447d-9b7d-b39d4ae6e285"}, serverData={openviduCustomConnectionId=camera_32}, streamId=null, connection=null, videoSource=null, videoFramerate=0, audioEnabled=false, videoEnabled=false, startTime=1730469244492, duration=339, reason=disconnect, receivingFrom=null, videoDimensions=null)

SeJonJ commented 2 hours ago

@SeJonJ 백엔드에서는 해당 유저가 정말 left 했는지 확인 필요!