- Deploy the backend project to some cloud (heroku etc) to consume websockets.
- Deploy the frontend project to vercel with single click
- Add required env variables
- NEXT_PUBLIC_WEBSOCKET_URL - URL to your websocket server. The backend deployment. If you want to use meeting feature
- NEXT_PUBLIC_URL - URL of your site
- NODE_ENV -
development
orproduction
- Background removal
- Virtual backgrounds
- Background blur
Welcome :)
- Node >= v15.x
- npm >= v7
- yarn 1.x
- It is a monorepo managed by yarn
- There are two packages backend and frontend
- Backend is just a small websocket server used for signaling
- Frontend is actual UI built with nextjs
- It uses google stun server for populating ice candidates
- Install all dependencies using
yarn --frozen-lockfile
- add
.env
see the contents below - run backend using
yarn workspaces @openrtc/backend start
- run frontend using
yarn workspaces @openrtc/frontend start
NEXT_PUBLIC_WEBSOCKET_URL=wss://localhost:4000/
NODE_ENV=development
NEXT_PUBLIC_URL=http://localhost:3000
- You dont need to build backend
- You can build frontend package with
yarn workspaces @openrtc/frontend build
command
- Handle if someone stops screen share in recording vlog
- This currently stops recording
- Ideally it should keep on recording but change video from screen to user
- First time visitor faces lag in audio recording
- First time visitor can not see small PiP video
- Microphone volume control
- Ability to name the video file - Currently it uses ISO date time string