This is a Next.js project bootstrapped with create-next-app.
- Next.js 15 with App Router
- TypeScript for type safety
- Socket.IO for real-time communication
- WebRTC for peer-to-peer video/audio streaming
- ROI Selection - Region of Interest cropping for screen sharing (Demo)
- tRPC for type-safe API calls
- Tailwind CSS for styling
First, run the development server:
npm run dev # or yarn dev # or pnpm dev # or bun devThis will start both the Next.js application and the TypeScript-based signaling server.
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
The project includes a TypeScript-based signaling server (signaling_server.ts) that handles:
- WebRTC signaling for peer-to-peer connections
- Room management for video/audio sessions
- Real-time communication via Socket.IO
The server runs on the same port (3000) as the Next.js application.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.