-
Notifications
You must be signed in to change notification settings - Fork 2
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
[FEAT/#4] P2P 연결을 위한 클래스들을 구현합니다. (WebSocket, Signaling, WebRTC, Connection) #16
Conversation
- secrets 추적 해제 Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
- BASE_URL 추가 - WebSocketClient (일단)구현 Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
- http 서버 대응 Co-Authored-By: Youngkyu Song <[email protected]> Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: seuhong <[email protected]> Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Kiyoung <[email protected]>
Co-Authored-By: Kiyoung <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTVOLEDLGTM
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/ConnectionClient.swift
Show resolved
Hide resolved
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/ConnectionClient.swift
Show resolved
Hide resolved
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/ConnectionClient.swift
Show resolved
Hide resolved
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/IceCandidate.swift
Show resolved
Hide resolved
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/SignalingClient.swift
Show resolved
Hide resolved
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/WebRTCClient.swift
Show resolved
Hide resolved
PhotoGether/DataLayer/PhotoGetherNetwork/PhotoGetherNetwork/WebRTCClient.swift
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
살려주세요
...esentationLayer/WaitingRoomFeature/WaitingRoomFeature/Source/WaitingRoomViewController.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
클라이언트들의 docs가 절실합니다.
🤔 배경
P2P 연결을 위한 기능을 구현해야 했습니다.
📃 작업 내역
시그널링 과정을 진행하기 위해 필요한 클래스와 타입을 구현했습니다.
타입
SessionDescription(SDP)
타입 구현IceCandidate
타입 구현SignalingMessage
타입 구현클래스 및 프로토콜
WebSocketClient
및WebSocketClientDelegate
구현SignalingCilent
및SignalingClientDelegate
구현WebRTCClient
WebRTCClientDelegate
구현ConnectionClient
구현✅ 리뷰 노트
살려주세요.
🎨 스크린샷
도메인 작업만 진행해 스크린샷이 없습니다ㅜ
🚀 테스트 방법
URLProtocol을 이용해 소켓 통신 요청을 가로채는 Mock객체를 만들어 테스트를 진행하려했습니다.
XCTest 객체를 URLSessionWebSocketDelegate 채택해 콜백을 받으려 했지만, 호출되지 않는 문제가 있었고, 3시간 이상 트러블 슈팅을 해봤습니다.
하지만 성공하지 못했고, 작업 우선순위에 따라 다른 작업을 진행했습니다. 🥲