13 Commits

Author SHA1 Message Date
Hiroshi Horie
d14a6c5832 Fix typos in docs and code (#944) 2025-12-12 18:57:51 +09:00
CloudWebRTC
f7384fb2e7 feat: Data Packet Cryptor. (#873) 2025-10-16 10:04:17 +08:00
CloudWebRTC
fb84e272cc fix e2ee issue for chrome rejoin (#849)
fix https://github.com/livekit/client-sdk-flutter/issues/834
2025-08-21 10:51:09 +08:00
CloudWebRTC
83e6d888fe fix: E2EE bug for Chrome. (#832)
close https://github.com/livekit/client-sdk-flutter/issues/825
2025-07-25 17:39:56 +08:00
jezell
7c97a29c52 Support for WASM builds (#593)
* fix conditionals to support wasm

* remove js_util

* fix wasm blocking issues

* revert name change

* cleanup analysis warnings

* sort imports

* copy e2ee

* fix ref to dart_webrtc crypto

* fix compile with --wasm.

* import sorter.

* bump deps version.

* fix.

* revert changes.

* fix analyzer.

* fix

---------

Co-authored-by: Jesse Ezell <jesse.ezell@timu.com>
Co-authored-by: cloudwebrtc <duanweiwei1982@gmail.com>
2025-02-23 10:59:28 +08:00
CloudWebRTC
7a1d23d373 feat: add keyRingSize/discardFrameWhenCryptorNotReady to KeyProviderOptions. (#493)
* feat: add keyRingSize/discardFrameWhenCryptorNotReady to KeyProviderOptions.

* update.

* bug fix.

* bump version.

* update e2ee worker js.

* bump version for flutter-webrtc.
2024-04-09 11:14:07 +08:00
CloudWebRTC
e73eaffdb0 E2EE improvement. (#461)
* support getKeyIndex for encryptors.

* Improve E2EE, make events consistent with native.

* update e2ee.worker.dart.js.
2024-02-05 13:15:02 +08:00
CloudWebRTC
427148a60f Create deploy-web.yaml (#359)
* Create deploy-web.yaml

* Update index.html

* Update deploy-web.yaml

* Update deploy-web.yaml
2023-09-14 08:48:18 +08:00
CloudWebRTC
49f22057f4 fix: Skip decryption when ratchet exceeded. (#318) 2023-07-13 22:02:06 +08:00
cloudwebrtc
79a2351ee8 fix: Correctly detect server injection frame for flutter web. 2023-04-28 10:40:00 +08:00
CloudWebRTC
26947e96d6 e2ee. (#226)
* chore: e2ee.

* update.

* update.

* update.

* update.

* chore: Use feat/frame-encryption branch of flutter-webrtc.

* chore: Add E2EEKEY defines for dart environment, and e2ee switch.

* Add encodedInsertableStreams to RTCConfiguration.

* update.

* feat: Add e2ee indicator for Participant.

* feat: add e2ee worker js for flutter web.

* dart format.

* remove unused file.

* fix flutter analyze .

* update.

* update.

* add: indicate for decryption failure, and string key.

* remove .lock files.

* update.

* update.

* update e2ee.worker for web.

* feat: support setCodecPreferences.

* state TrackE2EEStateEvent.

* fix wrong import interface from dart_webrtc.

* update.

* update.

* update.

* update.

* update pubspec.lock.

* chore: update protocol and add EncryptionType for Participant.

* Update lib/src/e2ee/options.dart

Co-authored-by: Théo Monnom <theo.monnom@outlook.com>

* fix typo.

* revert changes for internal import.

* Add _cleanUp() for previous room.

* Add e2ee supports detection method for native/web.

* Remove redundant overriding methods.

* dart format.

* Add e2ee.worker code and deployment docs.

* chore: remove duplicate words.

* chore: using Pbkdf2 derive the key.

* Update pubspec.yaml

* fix e2ee for safari.

* fix key length.

* update e2ee.worker.dart.js.

* fix.

* update proto.

* update.

* chore: add simulate for rachetKey.

* update.

* chore: key ratchet for flutter web.

* update.

* update.

* update.

* chore: key ratchet export for web.

* bump version for xframeworks.

* update.

* chore: some changes for key safety ratcheting.

* update.

* fix typo.

* update.

* rename.

* magic bytes for web.

* bump version for flutter-webrtc.

* fix analyzer.

---------

Co-authored-by: Théo Monnom <theo.monnom@outlook.com>
2023-04-27 17:54:32 +08:00
Hiroshi Horie
001f688729 Better audio management (#10)
* add audio_session package

* `AudioManager` initial design

* try to integrate audio manager

* configure audio session

* `DisposeAware`

disposing if already published causes exception.

* organize

* guard flutter_webrtc calls

* websocket async fix

* use `ConnectionState` instead of `_isClosed` and `isReconnecting`

* change create audio track defaults

* update protos

* protocol 3 speaker updates

* fix exception

* emit `RoomDisconnectedEvent` only once

* fix exception

* keep track of local / remote audio tracks

* explicit types

* manage track state

* re-structure audio management

* change defaults

* unpublish all

* use experimental build

* change defaults

* configuring is optional

* call native `RTCAudioSession.setConfiguration`

* defaults adjustment

* iOS only for now

* use lib 92.4515.07

* clean up

* revert audio options for now

* remove pod source

* rename apple related audio

* `createListener` method

* organize native audio

* `SpeakingChangedEvent` only on `Participant`

* refactoring

* fix ios compile

* fix configure audio only for iOS logic

* minor fix & clean up

* change dispose logic

* format protos

* fix unpublishTrack

* `createListener` into a mixin

* simplify

* use flutter_webrtc master

* unpublish for example

* update ios icon

* android icon

* web icon

* favicon
2021-10-01 02:47:18 +09:00
David Zhao
53e5705485 example project 2021-08-04 11:33:06 -07:00