From 44e94d84c35b85993c2a29491476d19a96fa57a3 Mon Sep 17 00:00:00 2001 From: Seho Park <34148750+sayyyho@users.noreply.github.com> Date: Fri, 30 Aug 2024 03:40:29 +0900 Subject: [PATCH 1/2] Update nginx.conf --- nginx.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nginx.conf b/nginx.conf index 0a12154..84a43d3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,7 +1,6 @@ server { listen 80; - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; + server_name kaboo.site; location / { root /usr/share/nginx/html; @@ -9,8 +8,7 @@ server { try_files $uri $uri/ /index.html; } - # Proxy WebSocket connections at /video - location /video/ { + location /socket.io/ { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -18,4 +16,4 @@ server { proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } -} \ No newline at end of file +} From 478b579c86a811e636650e811551ad8fa5f5989c Mon Sep 17 00:00:00 2001 From: sayyyho <323psh@naver.com> Date: Fri, 30 Aug 2024 09:38:12 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Fix:=20WebRTC=20=ED=95=98=EC=9A=B8=EB=A7=81?= =?UTF-8?q?=20=EC=9D=B4=EC=8A=88=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/VideoPage.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/VideoPage.jsx b/src/pages/VideoPage.jsx index aca9057..004953c 100644 --- a/src/pages/VideoPage.jsx +++ b/src/pages/VideoPage.jsx @@ -17,6 +17,7 @@ const RTCPage = () => { if (myVideoRef.current) { myVideoRef.current.srcObject = stream; + myVideoRef.current.volume = 0; // 볼륨을 0으로 설정 } stream.getTracks().forEach((track) => { if (pcRef.current) {