chess icon indicating copy to clipboard operation
chess copied to clipboard

Implement Live Peer-to-Peer Video Calling During Chess Game (WebRTC)

Open AnirudhMemani opened this issue 1 year ago • 4 comments

This pull request introduces live peer-to-peer video calling functionality during the chess game using WebRTC for real-time audio/video communication.

  • Request for a live video call and the opponent can either decline or accept
  • Users can terminate the video call at any point
  • Added functionalities like muting yourself and stop sharing your video

https://github.com/code100x/chess/assets/46074384/922f247d-b430-4db8-a3ae-3ecdff84d108

AnirudhMemani avatar May 07 '24 00:05 AnirudhMemani

@hkirat Check it out!!

AnirudhMemani avatar May 07 '24 00:05 AnirudhMemani

nice will review soon

hkirat avatar May 07 '24 05:05 hkirat

@hkirat Made changes for better UX

  • Made the video element draggable across the screen.
  • Migrated all the WebSocket messages to a centralized place to avoid code repetition.

https://github.com/code100x/chess/assets/46074384/bd7d79af-4c4d-410e-b04f-d5f9bd2995e7

AnirudhMemani avatar May 08 '24 04:05 AnirudhMemani

@hkirat Made changes and fixed issues! Check it out!

AnirudhMemani avatar May 08 '24 15:05 AnirudhMemani