Feat: TURN 서버 지원 추가 (#255) #283
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 개요
WebRTC의 연결 안정성을 향상시키기 위해 Coturn 기반의 TURN 서버를 도입하고, 보안 강화를 위해 동적 인증 방식을 적용합니다.
🔨 작업 내용
ICE 서버 조회 API 로직 수정 (
/api/webrtc/ice-servers)동적 인증 정보 생성 로직 구현
환경 변수를 이용한 설정 분리
application.yml에서 분리하여, 환경 변수(WEBRTC_TURN_SERVER_IP,WEBRTC_TURN_SHARED_SECRET)를 통해 주입받도록 수정했습니다.테스트 코드 수정 (
WebRTCApiControllerTest)@TestPropertySource를 사용하여 테스트 환경에서도 필요한 프로퍼티를 설정하도록 수정했습니다.🔗 관련 이슈
Closes #255
📝 참고 사항
왜 동적 인증을 사용했는가?
프론트엔드 변경 불필요
인프라 의존성
✅ 체크리스트