Skip to main content

applooma_uikit 0.1.10 copy "applooma_uikit: ^0.1.10" to clipboard
applooma_uikit: ^0.1.10 copied to clipboard

AppLooma RTC UIKit for Flutter — drop-in live streaming, voice room and 1-to-1 voice and video call screens.

applooma_uikit #

Drop-in live streaming, voice room and 1-to-1 call screens for Flutter, built on applooma_rtc.

dependencies:
  applooma_uikit: ^0.1.2
import 'package:applooma_uikit/applooma_uikit.dart';

final kit = AppLoomaKit(
  appId: 'YOUR_APP_ID',
  user: AppLoomaKitUser(id: me.id, name: me.name),
  // YOUR server returns { token, wsUrl } — the API secret never ships in the app.
  tokenProvider: (room, role, user) async {
    final r = await myApi.rtcToken(room: room, role: role, identity: user.id, name: user.name);
    return AppLoomaToken(token: r.token, wsUrl: r.wsUrl);
  },
);

Navigator.push(context, MaterialPageRoute(builder: (_) => AppLoomaLiveStream(kit: kit, room: 'show-42', role: 'host')));
Navigator.push(context, MaterialPageRoute(builder: (_) => AppLoomaVoiceRoom(kit: kit, room: 'party-7')));
Navigator.push(context, MaterialPageRoute(builder: (_) => AppLoomaCall(kit: kit, room: 'call-abc', video: true)));

Add CAMERA / RECORD_AUDIO to the Android manifest and the camera and microphone usage strings to iOS Info.plist. The screens ask for permission when they join.

On Android 12 and above also declare BLUETOOTH_CONNECT so Bluetooth headsets work in the screens. Needs applooma_rtc 0.3.3 or newer, which the kit pulls in.

MIT © AppLooma LLC

0
likes
140
points
856
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

AppLooma RTC UIKit for Flutter — drop-in live streaming, voice room and 1-to-1 voice and video call screens.

Homepage
Repository (GitHub)

Topics

#webrtc #live-streaming #voice-chat #video-call #ui

License

MIT (license)

Dependencies

applooma_rtc, flutter, permission_handler

More

Packages that depend on applooma_uikit