253 Commits

Author SHA1 Message Date
Hiroshi Horie
60e5303c35 Protocol v16 support (#1003) 2026-02-27 15:28:05 +09:00
Hiroshi Horie
ef92005511 chore: fix missing @internal annotations (#993)
Fix missing @internal annotations
2026-02-14 02:00:58 +09:00
Hiroshi Horie
da801a918d Fix meta package import errors (#981)
fix: use explicit imports to prevent missing meta annotations on some
Flutter versions

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Refactored import statements throughout the codebase from broad
imports with hide directives to explicit symbol declarations using show
clauses. This improves code clarity, reduces unnecessary symbol
exposure, and enhances maintainability.
* Consolidated imports to leverage specialized packages for improved
code organization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-06 14:59:19 +09:00
Hiroshi Horie
db929a36d7 Fix prejoin device dropdown crashes in example app (#966)
- Clear selected device when audio/video is disabled
- Reset selection if the device disappears on device change
- Prevents DropdownButton “exactly one item with value” crash


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Reset prejoin device selection when a previously chosen audio or video
device becomes unavailable.
* Keep device selection and preview tracks synchronized: auto-select a
device when enabling audio/video if none is selected, and stop/clear
preview tracks when disabling or when inputs are removed.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-27 16:33:49 +08:00
Hiroshi Horie
d14a6c5832 Fix typos in docs and code (#944) 2025-12-12 18:57:51 +09:00
Aayush Saurabh
7f48d34a49 Fixed typo in the audio settings UI of the example app (#942)
Changes:

Updated text labels to "Microphone"

Updated dropdown placeholder

Why:
Improves clarity and professionalism in the example UI.

Testing:
Manually tested on Android emulator + physical device.

---------

Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com>
2025-12-10 00:36:38 +09:00
Hiroshi Horie
985c56d11d example app: remember settings (#934)
Remember:
* Codec settings
* Publish cam / mic
2025-12-07 21:18:03 +09:00
Hiroshi Horie
b324c6b6c3 event logging (#925) 2025-11-21 12:59:13 +09:00
xianshijing-lk
5b0e9f139f fix the warnings and remove the ignorance from flutter analyze (#906)
This PR removed some of the error ignorances from analysis_options.yaml
and fixed the warnings.

---------

Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com>
2025-10-30 23:00:58 +07:00
xianshijing-lk
438d60b23e move the accessToken to header (#891)
Move the access_token to header in the format of 'Authorization':
'Bearer $token'

---------

Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com>
2025-10-20 18:25:53 +07:00
CloudWebRTC
f7384fb2e7 feat: Data Packet Cryptor. (#873) 2025-10-16 10:04:17 +08:00
Hiroshi Horie
6c562b7628 chore: format example (#892) 2025-10-15 20:15:12 +08:00
Hiroshi Horie
bf284e491c Fix WebRTC pod ver conflict (#876)
Fix flutter_webrtc ver to avoid pod-ver conflict.
2025-09-17 20:09:32 +08:00
CloudWebRTC
e69bb1fe51 release: 2.5.0+hotfix.3 (#841)
Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com>
2025-08-27 20:59:08 +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
d57080e802 release: 2.5.0 (#829)
Some checks failed
Publish to pub.dev / publish (push) Has been cancelled
2025-07-25 19:19:30 +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
CloudWebRTC
47686ca9c7 feat: Audio Visualizer for Windows/Linux. (#739)
close https://github.com/livekit/client-sdk-flutter/issues/734

- [x] Windows
- [x] Linux


![image](https://github.com/user-attachments/assets/e1655d24-9575-4f91-9a55-da1171a13ccc)
2025-07-01 15:03:16 +09:00
Hiroshi Horie
1737c56276 Update protocol to v1.39.2 (#812)
* Gen

* format

* format

* Fix compile

* Import sorter

* Fixes
2025-06-25 00:50:00 +09:00
Hiroshi Horie
ebdf340e32 Fix example app compile (#807)
* macOS

* iOS
2025-06-16 20:20:18 +09:00
CloudWebRTC
921c7e3444 fix: fix bitrate display for remote video track. (#801) 2025-06-10 11:29:17 +08:00
td
9003642474 fix: sif detection for e2ee (#788)
* fix: sif detection for e2ee

* fix: ndk version for example app in ci
2025-05-26 08:38:16 +08:00
CloudWebRTC
9615b37ed2 release: 2.4.7. (#787)
Some checks failed
Publish to pub.dev / publish (push) Has been cancelled
* release: 2.4.7.

* fix.

* update.

* fix.
2025-05-22 12:28:09 +08:00
CloudWebRTC
e861032986 fix issue 730. (#732) 2025-03-18 11:18:01 +08:00
CloudWebRTC
c05dc14be8 chore: remove bypassVoiceProcessing = true settings for connect page. (#693)
* chore: VideoRenderer improvements for iOS.

* cleanup.

* bump flutter-webrtc to 0.12.7.

* Update track.dart
2025-03-13 08:40:26 +08:00
CloudWebRTC
6365ec6766 feat: Visualizer for web. (#718)
* feat: Visualizer for web.

* wip.

* done.

* update.

* dart run import_sorter:main --no-comments.

* dart format.

* export Visualizer and add VisualizerOptions.

* support barCount configuration.

* Fixed bug for visualizer restart, removed setting enableVisualizer from RoomOptions.

* update.

* cleanup.

* rename.

* fix.

* fix.

* fix.
2025-03-05 11:36:31 +08:00
CloudWebRTC
9a714b90a6 release: 2.4.0. (#713)
Some checks failed
Publish to pub.dev / publish (push) Has been cancelled
* release: 2.4.0.

* Update deploy-web.yaml
2025-02-23 11:38:11 +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
Jacob Gelman
b782436467 fix: Properly handle broadcast capture state (#705)
* Define `BroadcastManager` class

Mirrors API of the same class from the native Swift SDK.

* Copy classes from native Swift SDK

Unneeded functionality has been omitted.

* Mark `LiveKitPlugin` as avalible on iOS 13 and higher

This is necesary to allow using the Combine framework. Since the minimum deployment target is iOS 13 according to the Podspec, this should not cause any issues.

* Implement RPC methods for broadcast manager

* Properly handle broadcast capture state

Same solution as implemented in PR #551 for the native Swift SDK.

* Use `broadcast-manual` device id

Sets the `deviceId` constraint to `broadcast-manual`, ensuring the broadcast picker isn't presented a second time when publishing a screen share track.

* Update example app

Removes boilerplate for iOS broadcast state management now handled internally by the library.

* Format

* Run import sorter
2025-02-18 18:03:11 +08:00
CloudWebRTC
f90275ffa4 fix: Improve speaker switching logic for iOS. (#692)
* fix: Improve speaker switching logic for iOS.

* update.

* fix.
2025-02-05 10:26:57 +08:00
Ben Cherry
208b3816b7 E2EE instructions in the example readme (#681) 2025-01-13 23:36:38 +08:00
CloudWebRTC
27d74538ce fix: bug for speakerPhone switch. (#672) 2024-12-30 17:15:27 +09:00
CloudWebRTC
a0b88b5aba feat: support FocusMode/ExposureMode for camera capture options. (#658)
* feat: support FocusMode/ExposureMode for camera capture options.

* bump version for flutter-webrtc.

* fix analyze.
2024-12-21 10:18:23 +08:00
CloudWebRTC
91bf10ce18 feat: audio visualizer. (#638)
* [wip] feat: audio visualizer.

* macos.

* wip.

* wip.

* wip.

* wip.

* wip.

* update.

* update.

* update.

* cleanup.

* bump version for flutter-webrtc.

* dart format.

* add third-party code license.

* fix.

* fix compiler warning.

* license.

* add enableVisualizer to RoomOptions.

* Added comments for enableVisualizer.
2024-12-08 21:45:26 +08:00
CloudWebRTC
977fd91f9e release: 2.3.1+hotfix.1. (#650)
* release: 2.3.1+hotfix.1.

* fix version consistency checking for hotfix.

* update CHANGELOG.

* fix android build.

* fix.
2024-12-02 15:58:10 +08:00
CloudWebRTC
346f00c00d Revert "Android AGP upgrade" (#651)
This reverts commit c3e4a1ed0e.
2024-12-02 15:37:35 +08:00
furkanKotic
c3e4a1ed0e Android AGP upgrade (#649) 2024-12-02 14:45:18 +08:00
CloudWebRTC
385ae8b3b1 feat: support bypass voice processing. (#595)
* feat: support bypass voice processing.

* update.

* update pubspec.yaml.
2024-10-21 11:54:40 +08:00
啊o额iu鱼
42558f6832 Fix spelling error in method name: _checkPremissions to _checkPermissions (#605) 2024-10-21 11:21:44 +08:00
CloudWebRTC
cd05869ce3 fix: fix monitorStats not started when sender == null. (#606)
* fix: fix monitorStats not start when sender == null.

* set some log levels to lower.

* update.
2024-10-21 11:21:24 +08:00
CloudWebRTC
588e898eb0 fix: fix speaker switching behavior for android. (#604) 2024-10-16 12:59:42 +08:00
CloudWebRTC
519b25b691 fix: Optimize stats display (#602) 2024-10-09 09:41:07 +08:00
cloudwebrtc
1953be85ea fix: Optimize stats display 2024-10-07 19:58:19 +08:00
CloudWebRTC
c7a17cbb74 fix: android build failure. (#587) 2024-09-13 14:12:31 +08:00
CloudWebRTC
0929ca9cb5 feat: support LocalTrackSubscribedEvent. (#578) 2024-08-27 08:34:38 +08:00
CloudWebRTC
c3f5ff2db9 feat: Prepare connection/region pinning. (#574)
* feat: Prepare connection/region pinning.

* dart run import_sorter.

* update.

* update.

* update.

* fix.

* update.

* update.

* fix scheme replace for url.

* update README.md

* fix.

* update.

* fix.
2024-08-23 11:36:00 +08:00
CloudWebRTC
253b7b5b6c release: 2.2.4. (#572)
* release: 2.2.4.

* update CHANGELOG.

* fix compiler error for android.
2024-08-12 14:57:09 +08:00
CloudWebRTC
05800e7599 fix: Fixed confusing room options causing settings to overwrite. (#570)
* fix: Fixed confusing room options causing settings to overwrite.

* if publishOptions.videoEncoding is not specified, use the default encoding

* fix.

* revert changes.

* Change VideoParameters.encoding to optional.

* update.

* Deprecate some APIs in Room.

* update.

* update.

* Update build.yaml

* update.

* Update build.yaml
2024-08-09 21:37:43 +08:00
CloudWebRTC
6fd73bba5d feat: Use PlatformView for video rendering on iOS to improve performance and reduce device heat. (#509)
* feat: Use PlatformView for iOS to improve performance and reduce device heat.

* Update pubspec.yaml

* update.

* Update pubspec.yaml

* update.

* update.

* update.

* update.
2024-08-02 09:34:43 +08:00
davidliu
479de66064 Update example to handle android screenshare permissions for API 34+ (#545) 2024-07-02 23:31:17 +09:00