This project is a WebRTC-based audio call application that enables peer-to-peer audio communication between devices. It leverages WebRTC for real-time communication and Socket.IO for signaling.
- Establishes peer-to-peer audio calls using WebRTC.
- Supports multiple STUN and TURN servers for enhanced connectivity.
- Provides a simple UI for connecting, muting/unmuting audio, and ending calls.
- Automatically handles ICE candidates for seamless connection setup.
- Displays connection and signaling statuses for better feedback.
- Robust error handling and reconnection logic.
- WebRTC: Real-time communication.
- Socket.IO: Signaling for WebRTC connections.
- HTML, CSS, JavaScript: Front-end development.
- Users connect to a signaling server (via Socket.IO).
- The server assigns roles (caller or callee) and pairs peers.
- SDP exchange and ICE candidate handling establish a WebRTC connection.
- Users can start calls, mute/unmute audio, and hang up.
- Node.js installed on your system.
- Clone the repository:
git clone https://github.com/<your-username>/<your-repo>.git cd <your-repo>