-
Notifications
You must be signed in to change notification settings - Fork 1
[BE] SFU와의 WebRTC 연결 수립 과정 구현 (ICE, DTLS, SDP) #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
KimDwDev
wants to merge
24
commits into
dev
Choose a base branch
from
feature/#177/sfu-webrtc
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or 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
- sfu 서버 역할의 모듈을 만들고 이를 돕기 위해 mediasoup를 설정하였다
- native기반의 mediasoup에 빌드 스크립트를 허용
- websocket도 nginx에서 잘 처리할 수 있게 nginx설정을 변경하였습니다
- 10초간 dns를 유지하고 2초동안만 기다리도록 설정했습니다. - 조회할때 dns를 재조회하도록 로직을 수정했습니다.
- 기존의 websocket 연결의 오해했던 부분을 바로잡고 http handshake 과정에서 잡는걸로 수정하였다. - namespace를 잘 정리하고 이에 대해서 문제를 해결하고자 했다
- room_id를 전달하는 것이 아닌 room_code를 전달하는 것으로 기존의 code를 최대한 살리고 http를 한번더 보내는 수도를 줄였다
- 클라이언트가 가야하는 sfu 서버에 webrtc를 못보내는 문제가 발생할수 있는데 그 문제를 해결하였음
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🎯 이슈 번호
✅ 작업 내용
이제 클라이언트는 SFU 서버와 SDP 및 ICE 협상을 완료하고, DTLS 핸드셰이크까지 수행할 수 있는 상태가 되었습니다. 이를 통해 WebRTC 기반 미디어 통신을 시작할 수 있는 준비가 끝난 단계입니다.
현재는 전체적인 미디어 흐름을 우선적으로 구현하고 이해하는 데 집중하고 있으며, 화상회의 기능 구현이 완료된 이후에 시그널링 및 SFU 동작 전반에 대한 문서화를 체계적으로 정리할 예정입니다.
배포에서 dns를 인식하지 못하는 문제를 발견했습니다 이 부분 수정해두었습니다.
🤔 리뷰 요구사항
리뷰 시 중점적으로 봐주었으면 하는 부분
현재는 HTTPS 환경에서 SFU 서버를 연결하지 않도록 설정되어 있으며, 실제 배포 서버 환경에 맞는 아키텍처를 다시 설계할 계획이어서 해당 부분은 아직 반영하지 않았습니다.
commit 방법 제가 이해한 방향이 맞는지 확인 부탁드립니다.
📸 스크린샷 (선택)