근처 기기와의 연결 + 기기간 비디오/사진 데이터 송수신 기능을 구현합니다. #11
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.
🔗 연관된 이슈
📝 작업 내용
📌 요약
MultipeerConnectivity프레임워크를 이용해 주변 Apple 기기를 탐색하는 로직을 구현했습니다.🔍 상세
💬 리뷰 노트
기기에 따른 시작 화면
현재는 아이폰이면 1st 디바이스, 그 외면 미러링 혹은 리모트 디바이스로 작동하도록 했습니다.
아이폰을 카메라 디바이스가 아닌 미러링/리모트로 사용하도록 하려면 사용자가 선택할 수 있도록 해도 좋을 듯 합니다.
시작 화면에서
촬영하기버튼과 함께미러링 기기로 사용하기,리모트 기기로 사용하기와 같은 버튼이 있도록 하면 어떨까 싶습니다.어떤 버튼을 클릭하는지에 따라
BrowserView혹은ReceiverView를 보여주면 어떨까요?기기 이름
사용자의 커스텀 기기 이름을 프로그래밍적으로 얻을 수 없다는 걸 이전에 토의한 적이 있습니다.
사용자의 닉네임을 미리 입력 받아서
UIDevice.current.name에 붙이는 방안을 생각 중입니다.개발 기간으로 미뤘습니다. 😅
카메라 회전
아이폰 (1st 디바이스)의 기울기에 따라 비디오도 회전하는 기능을 넣으면 좋을 듯 합니다.
참고 문서
MultipeerConnectivity와비디오 프레임 송수신(사진 송수신 포함)개발 및 학습 기록을 아래 문서들에 각각 기록했습니다.MultipeerConnectivity비디오 프레임 송수신📸 영상 / 이미지
카메라 디바이스
prototype-iPhone.mov
미러링 디바이스
prototype-iPad.mov