A real-time video calling system designed to connect elderly users with caregivers, family members, or emergency contacts — built using modern web technologies for low latency, simplicity, and reliability.
This module enables seamless peer-to-peer video communication within the Elderly AI Companion ecosystem.
It ensures that in moments of need, users can:
- Instantly connect with loved ones
- Receive visual assistance
- Feel safe and supported
- Peer-to-peer communication using WebRTC
- Low latency and high-quality video/audio
- Users can create/join rooms using a Room ID
- Simple and intuitive connection flow
- Toggle microphone
- Enable/disable camera
- Mute/unmute easily
-
Real-time exchange of:
- Offer / Answer
- ICE Candidates
-
Ensures quick connection setup
- Large buttons
- Minimal UI complexity
- One-click call experience
- React.js
- WebRTC API
- Socket.IO Client
- Node.js
- Express.js
- Socket.IO
video-call/
├── frontend/
│ ├── src/
│ │ ├── App.js
│ │ ├── VideoCall.js
│ │ ├── Controls.js
│ │ └── socket.js
│
├── backend/
│ ├── server.js
git clone <your-video-call-repo-url>
cd video-callcd backend
npm install
node server.jsServer runs on:
http://localhost:5000
cd frontend
npm install
npm startApp runs on:
http://localhost:3000
-
User opens the app
-
Creates or joins a room ID
-
Frontend captures:
- Camera stream
- Microphone stream
-
WebRTC flow:
- Offer → Answer
- ICE candidate exchange
-
Direct peer-to-peer connection established
-
Live video + audio begins
- Enables direct browser-to-browser communication
- No need for heavy media servers
- Used to exchange connection metadata
- Not used for actual video streaming
- Helps devices discover public IP addresses
- Required for NAT traversal
Example:
const pc = new RTCPeerConnection({
iceServers: [{ urls: "stun:stun.l.google.com:19302" }]
});- 👨👩👧 Family communication
- 🏥 Remote health assistance
- 🚨 Emergency video support
- 🧓 Daily check-ins for elderly
- 📲 One-tap emergency call
- 🤖 AI-triggered auto video call (panic detection)
- 🌐 Multi-user group calls
- 📡 Screen sharing for doctor consultations
- 🔒 End-to-end encryption
Elderly individuals often struggle with:
- Loneliness
- Lack of immediate support
- Difficulty using complex apps
This module ensures:
- Human connection in one click
- Visual reassurance in emergencies
- Simple and accessible communication
Feel free to fork, improve, and submit pull requests.
MIT License
Technology should not feel complicated — especially for those who need it the most.
This video calling system is built to be: Simple. Fast. Human.