-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: hotfix-fe-#70-1 상태로 되돌리기 * refactor: RoomPage가 렌더링될 때 소켓 연결되도록 StrictMode useEffect 2번 호출돼서 제거 * refactor: TS 접근제어자로 변경 validateSocket 대신 소켓 연결 여부를 묻는 메서드로 변경 * chore: 변수명, 디렉터리명 변경 * chore: 타입 지정 및 상수화 오타 수정 * refactor: WebRTC 로직 리팩터링 * refactor: gameSocket에서 마이크 권한 요청 로직 제거 * refactor: Dialog 컴포넌트에서 소켓 연결 및 상태 가져오기 * chore: WebRTC 오디오 및 관련 리소스 정리 로직 메서드 분리 * docs: README.md 업데이트
- Loading branch information
1 parent
59832d9
commit 083c5a5
Showing
22 changed files
with
509 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const STUN_SERVERS = Object.freeze({ | ||
iceServers: [ | ||
{ | ||
urls: 'stun:coturn.clovapatra.com:3478', | ||
}, | ||
{ | ||
urls: 'turn:coturn.clovapatra.com:3478', | ||
username: 'test', | ||
credential: 'bestcompanynaver', | ||
}, | ||
], | ||
}); | ||
|
||
export const MEDIA_CONSTRAINTS = Object.freeze({ | ||
audio: { | ||
echoCancellation: true, // 에코 제거 | ||
noiseSuppression: true, // 노이즈 제거 | ||
autoGainControl: true, // 자동 게인 제어 | ||
channelCount: 1, // 모노 채널 | ||
sampleRate: 16000, // 16kHz 샘플레이트 | ||
sampleSize: 16, // 16비트 샘플 크기 | ||
}, | ||
video: false, // 비디오 비활성화 | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
import { StrictMode } from 'react' | ||
import { createRoot } from 'react-dom/client' | ||
import './index.css' | ||
import App from './App.tsx' | ||
import { StrictMode } from 'react'; | ||
import { createRoot } from 'react-dom/client'; | ||
import './index.css'; | ||
import App from './App.tsx'; | ||
|
||
createRoot(document.getElementById('root')!).render( | ||
<StrictMode> | ||
<App /> | ||
</StrictMode>, | ||
) | ||
createRoot(document.getElementById('root')!).render(<App />); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
16 changes: 10 additions & 6 deletions
16
fe/src/pages/RoomPage/index.tsx → fe/src/pages/RoomListPage/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.