This project is a Flutter-based calling application that enables one-to-one video and voice calls using the VdoTok SDK. The app is designed to provide seamless communication with minimal setup, leveraging VdoTok's robust streaming capabilities.
- One-to-One Video Calls: High-quality video calls with low latency.
- One-to-One Voice Calls: Clear and uninterrupted voice communication.
- User Authentication: Simple authentication to manage users.
- Real-time Communication: Instant call setup and management.
Before you begin, ensure you have met the following requirements:
- Flutter 3.0 or higher
- Dart 2.12 or higher
- An active VdoTok account (you can sign up at VdoTok)
- VdoTok project credentials (API key, secret, etc.)
-
Clone the repository:
git clone https://github.com/yourusername/your-repo-name.git
-
Navigate to the project directory:
cd your-repo-name
-
Install dependencies:
flutter pub get
-
Set up VdoTok credentials:
-
Create a
.env
file in the root directory. -
Add your VdoTok API credentials:
VDOTOK_API_KEY=your_api_key VDOTOK_SECRET=your_secret_key
-
-
Run the application:
flutter run
- Sign Up / Log In: Users can sign up or log in using their credentials.
- Make a Call: Users can initiate a video or voice call by selecting a contact.
- Receive a Call: Users receive incoming calls in real time, with options to accept or reject.
- In-call Features: Mute/unmute microphone, switch camera, and end call.
This app integrates the vdotok_stream package for managing video and voice streams. For more details on the package, visit the official VdoTok SDK documentation.
- lib/: Contains all Flutter-related code.
- models/: Data models.
- screens/: UI screens for the app.
- services/: Communication with the VdoTok SDK.
- widgets/: Reusable UI components.
- assets/: Static assets such as images and fonts.
- .env: Environment variables (not included in the repository).
Feel free to modify it according to your project's specific needs!