gyanmeet_flutter_sdk 0.0.2 copy "gyanmeet_flutter_sdk: ^0.0.2" to clipboard
gyanmeet_flutter_sdk: ^0.0.2 copied to clipboard

PlatformAndroid
unlisted

Gyanmeet meeting SDK for Flutter — a self-contained video meeting widget with host controls, chat, polls, and optional on-device AI proctoring.

gyanmeet_flutter_sdk #

A self-contained Flutter meeting widget for Gyanmeet. Drop a single widget into your app to get the full Gyanmeet meeting experience — video grid, host controls, chat, polls, and optional on-device AI proctoring.

The consumer embeds one widget. No API key ever lives in the client: your backend mints a short-lived external-join token, and the SDK performs the validate-join round-trip itself.

Usage #

import 'package:gyanmeet_flutter_sdk/gyanmeet_flutter_sdk.dart';

GyanmeetMeeting(
  backendUrl: 'https://api.gyanmeet.com/api', // REST base
  token: externalJoinToken,                   // minted by YOUR backend
  config: const GyanmeetConfig(
    chatMode: ChatMode.open,                   // or hostModerated
    videoMode: VideoMode.all,                  // or hostsOnly
    showParticipantsTab: true,
    showPreJoin: true,
    initialAudio: true,
    initialVideo: true,
    enableAiMonitoring: true,                  // Enables on-device Face & Gaze detection
  ),
  primaryColor: '#366D5A',                     // optional brand theming
  onJoined: (meetingId, role) {},
  onLeave: () {},                              // local user left
  onEnded: () {},                              // host ended for everyone
  onError: (error) {},
  onFacePresenceChanged: (isPresent) {},       // emitted when face appears/disappears
  onGazeViolation: (reason) {},                // emitted for looking away/up/down
)

enableChat / enablePolls are intentionally not config: chat is a server meeting-setting the host toggles live in-meeting; polls are always available.

Features #

  • Join flow with optional PreJoin device check.
  • Video grid + pagination, debounced active-speaker pin, fullscreen tap.
  • Mic / camera / screen-share toggles, hand raise.
  • Host controls: mute / disable video & audio, promote/demote, remove, end meeting, live chat toggle.
  • Chat (open + host-moderated), participants panel, polls (create/vote/results).
  • Adaptive bandwidth: only the visible page and active speaker are subscribed, screen-share is always subscribed, and your upload is paused when no one is viewing you.
  • AI Monitoring: optional built-in on-device face detection emitting gaze and face-presence events for proctoring.

Platform setup #

The meeting needs camera/mic permissions, and screen share needs extra native plumbing. The bundled example/ is already configured.

Android #

AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />

The MediaProjection foreground service used for screen share is provided internally by the SDK — no extra wiring required.

iOS #

Info.plist:

<key>NSCameraUsageDescription</key>
<string>Camera access for video meetings.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone access for audio in meetings.</string>

Screen-share publishing on iOS additionally requires a Broadcast Upload Extension + an App Group (registered under your Apple Developer account). Screen-share viewing works without it.

1
likes
140
points
178
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Gyanmeet meeting SDK for Flutter — a self-contained video meeting widget with host controls, chat, polls, and optional on-device AI proctoring.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, flutter, google_mlkit_face_detection, livekit_client, livekit_components, path_provider, provider

More

Packages that depend on gyanmeet_flutter_sdk