Enterprise-grade communication solution powered by VdoTok SDK
Feature | Description |
---|---|
🎥 1:1 Video Calls | HD video streaming with <1% packet loss tolerance |
🎙️ Crystal Audio | Opus codec support for CD-quality voice calls |
🔐 JWT Auth | Secure authentication flow with token validation |
⚡ Low Latency | Global edge network with 150ms avg. connection time |
🔄 Call States | Managed call lifecycle (ringing/connected/ended) |
graph LR
A[Flutter UI] --> B(VdoTok SDK)
B --> C{Signaling Server}
C --> D[WebRTC Connection]
D --> E((Peer Device))
- VdoTok Developer Account (Sign Up)
- Flutter 3.19+
- iOS 14+/Android 8+ devices
-
Clone Repository
git clone https://github.com/Qasim-afzaal/flutter-calling-app.git
-
Configure Environment
Create.env
with your credentials:VDOTOK_API_KEY=your_project_key VDOTOK_SECRET=your_secret VDOTOK_PROJECT_ID=proj_abc123
-
Install & Run
flutter pub get && flutter run -d chrome
VdoTokView(
connection: VdoConnection(
projectId: env.projectId,
token: authToken,
),
onCallStart: () => print('Call initiated!'),
onCallEnd: () => print('Call ended'),
)
Add these permissions to AndroidManifest.xml
:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.CAMERA"/>
Metric | Value |
---|---|
Call Setup Time | <2s |
Audio Bitrate | 64 kbps |
Video Resolution | 720p @30fps |
CPU Usage (Avg) | 18% |
- Fork the repository
- Create feature branch:
git checkout -b feat/awesome-feature
- Commit changes:
git commit -m 'Add awesome feature'
- Push to branch:
git push origin feat/awesome-feature
- Open pull request