Skip to content
pubscout

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_rtc

What 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.

Works with

Packages commonly used together with gravix_rtc: ones it builds on, ones built on it, and its own family.