Skip to content

Conversation

@yiseungyun
Copy link
Member

1:N P2P 예제 코드

📝 설명

https://millo-l.github.io/WebRTC-이론-정리하기/
https://millo-l.github.io/WebRTC-구현-방식-Mesh-SFU-MCU/
https://millo-l.github.io/WebRTC-구현하기-1-1-P2P/
https://millo-l.github.io/WebRTC-구현하기-1-N-P2P/

  • 위 링크를 학습하고 nest.js + react에서 예제 코드를 작성했습니다.
  • nest는 잘 몰라서 ai에게 요청해서 도움을 받아 작성했습니다.

💬 변경 사항

  • 위 블로그의 1:N 방식을 참고해서 코드를 작성했습니다.

📌 실행 방법

  • backend에서 npm run start로 서버를 실행합니다.
  • frontend에서 npm run dev를 해줍니다.
  • 둘 다 하기 전 npm install을 해야합니다.

☃️ 결과

  • 클라이언트가 localhost:5173으로 접속하면 자신의 화면이 뜹니다.
    스크린샷 2024-11-04 오전 2 30 54

  • 그리고 또 다른 창에서 같이 접속하면 서버에는 새로운 클라이언트가 접속했다는 로그가 뜹니다.
    스크린샷 2024-11-04 오전 2 41 40

  • 현재는 새로운 클라이언트가 연결된 로그와 이메일(임시로 넣은)은 뜨지만, 상대의 화면은 보이지 않는 문제가 있습니다.

📖 추가 정보

  • 연습이다보니 한 파일에 넣었습니다.

@blu3fishez blu3fishez self-requested a review November 5, 2024 04:44
@twalla26 twalla26 mentioned this pull request Nov 5, 2024
3 tasks
@blu3fishez blu3fishez removed their request for review November 5, 2024 10:57
@blu3fishez
Copy link
Collaborator

이거 닫아도 될까요?

@yiseungyun @ShipFriend0516 @twalla26

@yiseungyun
Copy link
Member Author

이거 닫아도 될까요?

@yiseungyun @ShipFriend0516 @twalla26

네 닫아도 됩니다. 👍

@blu3fishez blu3fishez closed this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants