appsocom_flutter
Flutter client for Appsocom Live video calls on iOS, Android and the web: join rooms, camera and mic, video grid, controls, prejoin and classroom features, built on flutter_webrtc. It talks the same room protocol as the web and React Native clients, so everyone can be in the same call.
flutter pub add appsocom_flutter
import 'package:appsocom_flutter/appsocom_flutter.dart';
VideoConference(url: 'https://api.appsocom.dev', token: token, onLeft: (reason) => Navigator.pop(context));
Or join without the UI:
final room = await Room.join(JoinOptions(url: 'https://api.appsocom.dev', token: token));
room.events.listen((e) {
if (e is ParticipantJoined) print('${e.participant.name} joined');
});
room.toggleMic();
Room is a ChangeNotifier, so your widgets rebuild when anything changes. Theme the widgets with SfuTheme.
The join token comes from your backend, which mints it with your project's API key (see the appsocom Dart server SDK or the REST API). Never put the API key in the app.
Setup:
- iOS 13+: add
NSCameraUsageDescriptionandNSMicrophoneUsageDescriptiontoInfo.plist, and theaudiobackground mode. - Android:
CAMERA,RECORD_AUDIO,MODIFY_AUDIO_SETTINGS,INTERNETandACCESS_NETWORK_STATE, withminSdk24.
End-to-end encryption, phone screen sharing, background blur and noise suppression are web-only for now.
Guide: UI kits
Docs: docs.appsocom.dev ยท License: MIT
Libraries
- appsocom_flutter
- Flutter client for Appsocom Live: video calls on Cloudflare Realtime SFU, plus drop-in UI kits (MeetingRoom, Classroom, OneToOneCall, GroupCall, AgentCall).