raven_rtc 0.2.2
raven_rtc: ^0.2.2 copied to clipboard
Livqeno SDK for Flutter — join a room, publish camera and microphone, render participants. Hides WebRTC, SDP, ICE, STUN, TURN and the media server behind a small typed API.
raven_rtc #
Livqeno's Flutter SDK — join a room, publish camera and microphone, render participants. Hides WebRTC, SDP, ICE, STUN, TURN and the media server behind a small typed API.
Part of Livqeno, managed real-time communication infrastructure.
Requirements #
- Dart SDK >= 3.6.0
- Flutter >= 3.27.0
Install #
dependencies:
raven_rtc: ^0.1.0
Camera and microphone permissions must be declared in Info.plist and
AndroidManifest.xml — see the reference below.
Use #
The token comes from your own backend, never from the app. See the TypeScript or Python server SDK.
import 'package:raven_rtc/raven_rtc.dart';
final raven = Raven(
token: grant.token,
endpoint: grant.endpoint,
iceServers: grant.iceServers,
);
final room = await raven.join(roomId);
await room.enableCamera();
await room.enableMicrophone();
Render a participant:
RavenVideoView(participant: participant)
RavenRoom is a ChangeNotifier, so ListenableBuilder and
AnimatedBuilder work as you would expect.
Documentation #
- Flutter SDK reference
- RTC architecture
- Runnable example:
examples/flutter-rtc-chat
Messaging is a separate package —
raven_chat — so a video app never
carries a message store.
License #
MIT