Skip to main content

appsocom_flutter 0.5.0 copy "appsocom_flutter: ^0.5.0" to clipboard
appsocom_flutter: ^0.5.0 copied to clipboard

Flutter client for Appsocom Live video calls - join rooms, camera and mic, video grid, controls, prejoin and classrooms. Built on flutter_webrtc.

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 NSCameraUsageDescription and NSMicrophoneUsageDescription to Info.plist, and the audio background mode.
  • Android: CAMERA, RECORD_AUDIO, MODIFY_AUDIO_SETTINGS, INTERNET and ACCESS_NETWORK_STATE, with minSdk 24.

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

0
likes
0
points
69
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Flutter client for Appsocom Live video calls - join rooms, camera and mic, video grid, controls, prejoin and classrooms. Built on flutter_webrtc.

Homepage

Topics

#video #webrtc #video-call

License

unknown (license)

Dependencies

flutter, flutter_webrtc, http, web_socket_channel

More

Packages that depend on appsocom_flutter