Commit Graph

424 Commits

Author SHA1 Message Date
CloudWebRTC 4f697ca867 fix bluetooth device enumerate. (#281)
* fix bluetooth device enumerate.

* update README.md

* dart format.

* revert pubspec.yaml.

* fix analyzer.
2023-05-11 17:29:33 +08:00
CloudWebRTC bf07a91c98 fix: Do not operate on inactive tracks. (#277) 2023-05-09 07:22:29 +08:00
cloudwebrtc 1829cb18bd release: 1.3.0. 2023-04-28 10:50:19 +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
CloudWebRTC 3407221fc4 Fix resolution/framerate/bitrate issue for publishVideoTrack (#270)
* Add screenShareCaptureOptions for setScreenShareEnabled.

* update.

* bump version for flutter-webrtc.

* chore: add maintainResolution setting for publish screen sharing track.

* chore: add CaptureOptions for setCameraEnabled/setMicrophoneEnabled/setScreenShareEnabled.

* update.

* revert changes for videoRids.

* chore: set the default sending bitrate.
2023-04-27 10:14:03 +08:00
Jonas Schell f07afc10be [🤖 readme-manager] Update README (#272)
* update readme

* update readme
2023-04-20 22:26:23 +08:00
Jonas Schell 62525fac9d update readme (#269) 2023-04-13 22:00:54 +08:00
Jonas Schell 8fb192c55c update readme (#268) 2023-04-12 17:06:50 +08:00
CloudWebRTC 55bc6d65d9 new release: 1.2.2 (#266)
* bump version for flutter-webrtc.

* release: for 1.2.2.

* fix typo.

* fix analyzer.
2023-04-10 12:00:41 +08:00
David Zhao 2adeb74aa2 Use participantIdentity instead of Sid for track permissions. (#265) 2023-04-10 06:27:27 +08:00
cloudwebrtc 8d2220c274 upgrade protocol verstion to v9. 2023-04-07 11:04:15 +08:00
Jonas Schell 6a0416026e readme manager initial setup (#264)
* readme manager initial setup

This PR makes the README ready to be managed by the readme manager. It adds custom comment tags to the readme, which are invisible when the README is rendered, but tell the readme manager where to insert and update content.

* Update README.md
2023-04-06 09:45:47 +08:00
CloudWebRTC abd6bb32b6 feat: handle reconnect response to re-configuration PCs. (#255)
* feat: handle reconnect response to re-configuration PCs.

* chore: fn rename.

* fmt: format proto/*.dart.

* update.
2023-03-27 09:20:18 +08:00
CloudWebRTC bc4df105fa feat: support metadata update. (#259) 2023-03-27 09:19:52 +08:00
CloudWebRTC 68d611a448 feat: topic for data-channel. (#260) 2023-03-27 09:19:42 +08:00
CloudWebRTC 59ee3105fb feat: Support setVideoFPS for subscribe. (#258)
* feat: Support setVideoFPS for subscribe.

* Update lib/src/publication/remote.dart

Co-authored-by: David Zhao <dz@livekit.io>

* Add comment for setVideoFPS.

---------

Co-authored-by: David Zhao <dz@livekit.io>
2023-03-15 15:51:15 +08:00
CloudWebRTC a992a27d0b update protocol to c3e5be2. (#256)
* update protocol to c3e5be2.

* dart format.
2023-03-14 11:12:52 +08:00
CloudWebRTC 0848b45570 release: 1.2.1. (#253)
* release: 1.2.1.

* Update CHANGELOG.md
2023-03-09 15:01:50 +08:00
CloudWebRTC b63d4bde8a Room recording event (#252)
* feat: Add room reocording reminder.

* chore: comment for recording event.
2023-03-08 13:09:04 +08:00
CloudWebRTC 6dc2bf6375 fix: Fix renderer issue for Safari/Firefox. (#241)
* fix: Fix renderer issue for Safari.

* fix: fix compile for native.

* chore: Improve flickering.
2023-03-08 10:28:10 +08:00
CloudWebRTC 2c72d6fd73 fix: set forceRelay if server response is enabled. (#251) 2023-03-08 10:27:59 +08:00
CloudWebRTC c74e6777d8 feat: Forward leave reason of disconnected events. (#250)
* feat: Forward leave reason of disconnected events.

* fix analyze.

* chore: print room disconnect reason when event.reason != null.

* chore: rename InternalDisconnectReason => ClientDisconnectReason.
2023-03-07 17:54:18 +08:00
CloudWebRTC db2e25d424 feat: web/native device consistency management (#243)
* fix: Force audio settings to be consistent.

* chore: applyAudioSettings for onUnpublish.

* revert audio output select for web.

* add RoomHardwareManagementMethods to Room.

* update.

* fix analyze.

* update.

* update.

* chore: Reset sinkId for web when remoteTrack replays.

* rename setAudioOutput to setSinkId for flutter web.

* chore: Make sure AudioElement has `setSinkId` method.
2023-03-07 17:54:06 +08:00
CloudWebRTC 70e6589981 feat: audio output select for web. (#247)
* feat: audio output select for web.

* chore: Add comments for VideoTrackRenderer.

* update.
2023-03-06 10:53:45 +08:00
CloudWebRTC e3f78c2b4c export logger level api. (#244) 2023-03-02 12:06:12 +08:00
cloudwebrtc 280e94378a release: 1.2.0 2023-02-17 17:15:41 +08:00
cloudwebrtc 131a2f5749 update flutter-webrtc. 2023-02-17 10:46:45 +08:00
CloudWebRTC 5c4761bc7c Fix: re-publish tracks after re connect (#238)
* fix republish local tracks after reconnect.

* update flutter-webrtc.

* remove unused import.

* add dart_webrtc.

* cleanup.

* fix: Fix sendSyncState timing error, when reconnecting is sending.

* Adjust the re-connect logic to ensure that the publisher negotiates and reconnects correctly.

* Update room.dart
2023-02-17 09:04:56 +08:00
CloudWebRTC 5018f355f8 feat: support fast switch camera for LocalVideoTrack. (#239)
* feat: support fast switch camera for LocalVideoTrack.

* remove unused import.
2023-02-15 09:59:31 +08:00
CloudWebRTC 6118635032 upgrade flutter-webrtc. (#240) 2023-02-15 09:59:07 +08:00
Hiroshi Horie f5aac2f046 re-apply .gitignore to example dir 2023-02-06 12:49:03 +09:00
Hiroshi Horie a089ceb0e9 update example .gitignore 2023-02-06 12:48:11 +09:00
Hiroshi Horie a23eb6332c Audio mute unmute fixes (#234)
* progress

* refresh

* Create Podfile.lock

* Update Podfile.lock

* pub

* update deps.

* fix tests

* dart format .

* fix duplicate imports

---------

Co-authored-by: cloudwebrtc <duanweiwei1982@gmail.com>
2023-02-06 12:43:27 +09:00
cloudwebrtc 75412779a2 dart format. 2023-02-03 15:33:20 +08:00
CloudWebRTC bf79d0933c Update build.yaml
fix CI
2023-02-03 15:28:39 +08:00
CloudWebRTC 5d727bee5d [Android] fix screen sharing crash on first boot (#203)
* fix screen sharing crash on first boot.

* update.

* update.

* Update controls.dart
2023-02-03 14:59:49 +08:00
davidliu 8d911b1059 chore: Update changelog 2023-01-12 17:15:38 +09:00
davidliu 42d8b3ecdc release: 1.1.12 2023-01-12 16:57:58 +09:00
davidliu 23536fb46a Update flutter-webrtc to 0.9.19
Also remove BLUETOOTH_CONNECT permissions which are no longer needed.
2023-01-12 16:51:47 +09:00
MOHAMMAD RASIM 01145bf36c Fix Audio output list is empty in android (#231)
This used to throw a state error under android becuase the audio output list is empty
2023-01-03 09:55:41 +08:00
cloudwebrtc 7a8ef9fd0c release: 1.1.11. 2022-12-12 11:39:05 +08:00
CloudWebRTC 1596e67cf8 fix: fix connection fails for firefox. (#222) 2022-12-12 11:31:16 +08:00
cloudwebrtc 4381287a5d fix: Avoid concurrent operations for _participants during Room._cleanUp(). 2022-12-08 16:17:38 +08:00
cloudwebrtc 0f5d1b9dea release: 1.1.10. 2022-12-06 10:13:41 +08:00
cloudwebrtc 2ba9a4f405 upgrade pub deps. 2022-12-06 10:10:04 +08:00
CloudWebRTC 73927c9f71 fix: Disconnect from room before app closes. (#218)
* fix: Disconnect from room before app closes.

* chore: add app state listener.

* Remove unused import.

* fix `flutter test`.

* singleton.
2022-12-05 17:28:11 +08:00
CloudWebRTC 833fd658b2 fix: Correctly throws final error when connection fails. (#214)
* fix: Correctly throws final error when connection fails.

* update.

* update.
2022-12-05 08:51:44 +08:00
cloudwebrtc 06783cad5c release: 1.1.9. 2022-11-28 11:20:56 +08:00
cloudwebrtc e0a721be69 release: 1.1.8. 2022-11-14 19:18:54 +08:00