Enable real-time video and audio calls between users with Agora integration. This guide walks you through creating an Agora account, configuring your project, and setting up video calling in ChatNet.
Navigate to Video Calling
Agora provides real-time voice and video communication APIs. ChatNet uses Agora for 1-on-1 video and audio calls between users in private messages.
For most small to medium communities, the free tier is sufficient.
Important: Always use "Secured mode" (APP ID + Token) for production. This ensures calls are authenticated and secure.
Navigate to Video Calling in the admin panel and enter your credentials:
| Setting | Description |
|---|---|
| Enable Video Calling | Turn on the video calling feature |
| Video Calling Provider | Select Agora |
| Agora App ID | Your Agora project App ID |
| Agora App Certificate | Your Agora project App Certificate |
| Maximum Call Length (minutes) | Limit call duration (0 for unlimited) |
| Frame Rate | Video frame rate (default: 30) |
| Min Bit Rate | Minimum video bitrate (default: 500) |
| Max Bit Rate | Maximum video bitrate (default: 1000) |
ChatNet automatically handles token generation for each call session, ensuring secure communication.
Adjust video quality based on your users' typical internet connections:
| Quality | Frame Rate | Bit Rate |
|---|---|---|
| Low (save bandwidth) | 15 fps | 200-400 kbps |
| Medium (balanced) | 24 fps | 400-800 kbps |
| High (best quality) | 30 fps | 800-1500 kbps |
| Issue | Solution |
|---|---|
| Call button not showing | Ensure video calling is enabled and credentials are entered |
| Call fails to connect | Verify App ID and Certificate are correct |
| No video/audio | Check browser permissions for camera/microphone |
| Poor quality | Adjust bit rate settings or check internet connection |
| Token errors | Ensure App Certificate is correct (not App ID) |
| Calls work on some browsers only | WebRTC support varies - Chrome/Firefox work best |
Video calling requires WebRTC support:
HTTPS Required: Browsers only allow camera/microphone access on secure (HTTPS) sites.
Track your Agora usage in the Agora Console: