A simple web application that allows users to share their webcam stream with others in real-time.
- Broadcaster page to share webcam
- Viewer page to watch the stream
- Real-time video streaming using Socket.IO
- Simple and intuitive interface
- Install Node.js if you haven't already
- Clone this repository
- Install dependencies:
npm install
- Start the server:
npm start
- Open your browser and visit:
- Broadcaster page:
http://localhost:3000 - Viewer page:
http://localhost:3000/viewer
- Broadcaster page:
- On the broadcaster page, allow webcam access when prompted
- The stream will start automatically
- Share the viewer page URL with others
- Viewers can watch the stream in real-time
- Built with Node.js and Express
- Uses Socket.IO for real-time communication
- Frontend uses vanilla JavaScript
- Video stream is compressed and sent as WebP images