volorio_rtc 0.2.1
volorio_rtc: ^0.2.1 copied to clipboard
Volorio-branded Flutter RTC client for voice, video, screen share, heartbeat, and usage cutoff.
volorio_rtc #
Volorio Flutter RTC SDK for voice calls, video calls, live rooms, screen share, data messages, and participant-minute billing heartbeat.
Application code imports Volorio APIs only. The underlying media provider is an internal implementation detail of this package.
Keywords #
Flutter RTC, Flutter WebRTC, voice chat SDK, video call SDK, audio room SDK, live streaming SDK, screen sharing, realtime communication, Volorio.
Install #
dependencies:
volorio_rtc: ^0.2.0
Join a room #
The session must be created by your backend with volorio_server.
import 'package:volorio_core/volorio_core.dart';
import 'package:volorio_rtc/volorio_rtc.dart';
final rtc = VolorioRtcClient();
await rtc.join(
VolorioRoomSession.fromJson(sessionJsonFromYourBackend),
);
await rtc.enableMicrophone(true);
await rtc.enableCamera(true);
Media controls #
await rtc.enableMicrophone(false);
await rtc.enableCamera(false);
await rtc.shareScreen(true);
await rtc.sendMessage('{"type":"room.ping"}');
await rtc.leave();
Billing and session cutoff #
volorio_rtc automatically calls the heartbeat URL returned by Volorio. If the
server responds with 401, 403, or 402, the SDK disconnects locally.
Common causes:
401: missing or invalid backend-created session.403: API key does not have the requested product or quality grant.402: no remaining monthly free minutes and insufficient wallet balance.
Mobile permissions #
Your Flutter app still needs platform-level microphone and camera permissions. Volorio handles the room/session API, but iOS and Android permission prompts are owned by your app.