volorio_core 0.2.0 copy "volorio_core: ^0.2.0" to clipboard
volorio_core: ^0.2.0 copied to clipboard

Shared product, pricing, session, wallet, and error types for Volorio Dart SDKs.

volorio_core #

Shared Dart types for the Volorio realtime communication platform.

volorio_core contains provider-free models used by every Volorio Dart and Flutter SDK: product IDs, media quality values, session descriptors, heartbeat responses, wallet-aware errors, and pricing metadata.

Keywords #

Volorio, Flutter RTC, Dart SDK, realtime communication, WebRTC, voice call, video call, live streaming, RTM, chat, usage billing, participant minutes.

Install #

dependencies:
  volorio_core: ^0.2.0

Product IDs #

import 'package:volorio_core/volorio_core.dart';

final products = [
  VolorioProductId.rtcVoice,
  VolorioProductId.signaling,
  VolorioProductId.chatMau,
];

final wireValues = products.map((product) => product.wireValue).toList();

Media quality #

final quality = VolorioMediaQuality.voice;
print(quality.wireValue); // voice

Supported quality values are voice, hd, fullhd, 2k, and 4k.

Billing metadata #

The pricing catalog exposes product units and free allowance metadata so apps can render estimates consistently with Volorio billing.

final voice = volorioPricingCatalog.singleWhere(
  (item) => item.id == VolorioProductId.rtcVoice,
);

print(voice.unitPriceMicros);
print(voice.freeAllowance?.quantity);

Security #

This package has no network client and no API key handling. It is safe to use in Flutter apps, Dart backends, tests, and shared libraries.

0
likes
0
points
133
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Shared product, pricing, session, wallet, and error types for Volorio Dart SDKs.

Homepage
Repository (GitHub)
View/report issues

Topics

#volorio #rtc #realtime #flutter #billing

License

unknown (license)

More

Packages that depend on volorio_core