volorio_rtm 0.2.0
volorio_rtm: ^0.2.0 copied to clipboard
Volorio realtime messaging for Flutter, backed by the active Volorio RTC data channel.
volorio_rtm #
Flutter realtime messaging SDK for low-latency room events, presence, typing state, game events, live reactions, and custom app synchronization.
volorio_rtm depends on volorio_rtc and sends data through the active Volorio
RTC data channel.
Keywords #
Flutter RTM, realtime messaging, presence SDK, low latency messaging, WebRTC data channel, live room events, Volorio signaling.
Install #
dependencies:
volorio_rtm: ^0.2.0
Publish a message #
import 'package:volorio_rtm/volorio_rtm.dart';
final rtm = VolorioRtmClient(rtc);
await rtm.publishMessage(
'room:audio-party-123',
{'type': 'hand.raise', 'identity': 'user_123'},
clientMessageId: 'msg_001',
);
Presence #
await rtm.setPresence(
'room:audio-party-123',
const VolorioRtmPresence(
identity: 'user_123',
status: 'online',
),
);
Entitlements #
Your backend-created session should include VolorioProductId.signaling.
Without the signaling entitlement, Volorio can reject the session or charge
according to the project configuration.