chess
chess copied to clipboard
Implement Live Peer-to-Peer Video Calling During Chess Game (WebRTC)
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
@hkirat Check it out!!
nice will review soon
@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
@hkirat Made changes and fixed issues! Check it out!