The feature I want to see on the patika, you may want to learn with your friends from a distance. We use "RTC" technologies for this. Current features. user video and audio sharing . watch video with friend feature. https://demowebrtcapp.herokuapp.com/ --> you can try video for better understanding --> https://www.youtube.com/watch?v=LbFPlam-FIE
This demo does not include the ability to connect you directly to someone else. for this you have to manually share the url address after you set up the room.
When you run it in developer mode
in your browser need to turn off the enable javascript source maps setting to avoid the error related to peer js.
webrtc/
├─ node_modules/
├─ Views/
│ ├─ index.ejs
│ ├─ room.ejs
├─ static/
│ ├─ clientsocket.js
│ ├─ video.js
├─app.js
├─ .gitignore
├─ package.json
github clone and github download zip
npm install --save
"cors": "^2.8.5",
"ejs": "^3.1.6",
"express": "^4.17.3",
"peer": "^0.6.1",
"socket.io": "^4.4.1",
"uuid": "^8.3.2"
peer js cdn --> https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js
and running
## Usage //runing is here!
```javascript
node app.js
or
nodemon app.js -- requires npm i nodemon --save
- An invitation link will be sent for the new user to join the room.
- Pause, play (in-group)
- All colleagues' scores will be transferred when they complete the lesson.
- audio and video on, off.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.