gravix_rtc
0.10.2, released 5 days ago by gravixcloud.com
Real-time video and audio rooms for Flutter on Gravix Cloud.
$ flutter pub add gravix_rtcWhat it does
Provides real-time video and audio room capabilities for Flutter applications connected to Gravix Cloud. It handles region-aware connections, token providers, join analytics, automatic data-saving, and video or voice effects.
AI-written summary of version 0.10.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a live streaming, video call, or audio room app on Gravix Cloud.
- You need region-aware connection optimization for low-latency media.
Skip it when
- You are using a self-hosted WebRTC server or a different cloud provider like Agora or Twilio.
- You only need local audio or video playback without a real-time room server backend.
Strengths
- Comprehensive suite of features including region probing, reconnect policies, and recovery.
- Built-in Android beauty effects and voice effects.
- Token management via local signing or endpoint providers.
Weaknesses
- Tied tightly to Gravix Cloud backend and infrastructure.
- Platform support is currently limited to Android and iOS.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- Yes (build_runner)
- Direct dependencies
- 24
Requires adding the package, configuring tokens, and optionally adjusting Android Gradle properties/Proguard rules if excluding or configuring built-in beauty effects.
import 'package:gravix_rtc/gravix_rtc.dart';
final room = GravixRoomService();
final tokens = GravixTokenProvider.endpoint(
Uri.parse('https://api.example.com/rtc/token'),
);
final ok = await room.connectWithTokenProvider(
tokenProvider: tokens,
request: GravixTokenRequest(room: 'room_id', identity: 'user_id'),
);
if (!ok) return;
await room.disconnect();
await room.dispose();Alternatives
Packages that do the same job and could replace gravix_rtc.
- video_player_android
Android implementation of the video_player plugin
88Compare - video_player_avfoundation
iOS and macOS implementation of the video_player plugin
86Compare - livekit_client
Flutter Client SDK for LiveKit to build real-time video, audio, and data features.
91Compare - stream_video_flutter
Official UI package and SDK for Stream Video, supporting calls and livestreams.
80Compare
Works with
Packages commonly used together with gravix_rtc: ones it builds on, ones built on it, and its own family.
- cryptogravix_rtc depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidgravix_rtc depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- webgravix_rtc depends on itLightweight bindings for browser APIs via JS interop
- asyncgravix_rtc depends on itUtility classes and helpers that extend Dart's async library.
- json_annotationgravix_rtc depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- logginggravix_rtc depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- fixnumgravix_rtc depends on itProvides 32‑ and 64‑bit signed fixed‑width integer types for Dart.
- shared_preferencesgravix_rtc depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.