A simple implementation of peer-to-peer WebRTC communication using Node.js and TypeScript. This project enables real-time audio and video communication between two peers without relying on external libraries or frameworks.
- WebRTC: Leverage the power of WebRTC for secure and efficient peer-to-peer communication.
- Media Flip: Flip camera or microphone in between the calls smoothly.
- Real-time Audio and Video: Enable users to communicate in real-time with audio and video streaming.
- Custom Signaling Server: Implement a custom signaling server to manage peer connections and communication.
- Cross-Browser Compatibility: Ensure compatibility across major web browsers.
-
Clone the repository:
git clone https://github.com/deepaksuthar40128/P2P.git
-
Install Dependencies:
npm install
-
Build the TypeScript Code:
npm run build
-
Start the Server:
npm start
-
Open Your Browser:
- Navigate to http://localhost:3000
Feel free to explore, modify, and expand upon this simple WebRTC project. Contributions and suggestions are welcome!