This app implements a video room using LiveKit's Flutter SDK. Designed to run for iOS, Android, Web, Mac, and Windows.
Run example:
flutter pub get
# Due to the inconvenience of typing on mobile devices,
# you can autofill URL and TOKEN for first run in debug mode.
flutter run --dart-define=URL=wss://${LIVEKIT_SERVER_IP_OR_DOMAIN} --dart-define=TOKEN=${YOUR_TOKEN}
The example app supports end-to-end encryption for audio and video tracks. To enable E2EE:
- Toggle the "E2EE" switch in the connect screen
- Enter a shared key that will be used for encryption
- All participants must use the same shared key to communicate
For web support, you'll need to compile the E2EE web worker:
dart compile js web/e2ee.worker.dart -o example/web/e2ee.worker.dart.js -m
Note: All participants in the room must have E2EE enabled and use the same shared key to see and hear each other. If the keys don't match, participants won't be able to decode each other's audio and video.