Commit Graph

142 Commits

Author SHA1 Message Date
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
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 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 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
cloudwebrtc 7a8ef9fd0c release: 1.1.11. 2022-12-12 11:39:05 +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 06783cad5c release: 1.1.9. 2022-11-28 11:20:56 +08:00
CloudWebRTC 27ea869443 fix: stop audio track on mute. (#207)
* fix: stop audio track on mute.

* chore: Let audioBitrate preset to music.

* update.

* update depends.

* update.
2022-11-14 19:13:48 +08:00
CloudWebRTC 0d8441ebfb e2e: fix resume/full-reconnect. (#194)
* fix: full re-connect.

* chore: Reset fullReConnect state after ConnectionState is emitted.

* Support full reconnect, fix Migration, NodeFailure, FullReconnect test cases.

* revert Timeouts.connection.

* update.

* Refactor the resume/reconnect implementation.

* more changes.

* update.

* Changed to simpler reconnect/recovery logic.

* update.

* update.

* code format.

* tidy.

* bump version for flutter-webrtc.

* chore: Remove unused exception class (SignalReconnectError).

* chore: rename `fullReconnectOnNext` to `fullReconnect`.

* update.

* chore: Revert changes for `unpublishTrack`.

* chore: Reconnect signalClient when resumeConnection.

* revert `rethrow` in engine.connect.

* Use removePublishedTrack instead of unpublishTrack (RemoteParticipant).

* chore: Correctly handle PeerConnectionState for resume/full-reconnect.

* tidy.
2022-11-08 16:06:09 +08:00
CloudWebRTC 9b0f0604e1 Update README.md 2022-11-01 16:41:50 +08:00
CloudWebRTC 6fa27d4244 Update README.md 2022-11-01 16:40:41 +08:00
CloudWebRTC 257f2129fe update dependencies. (#190) 2022-10-18 15:52:14 +08:00
cloudwebrtc 362c3033cd update pub dependencies. 2022-10-12 14:05:43 +08:00
CloudWebRTC eaacbf77c5 Supports getting the connected remote address. (#177)
* chore: Supports getting the connected remote address.

* chore: Merge duplicate code.

* chore: update.

* update pub deps.

* Migrate to webrtc standard stats.
2022-10-12 10:58:24 +08:00
CloudWebRTC 03c1fdcf89 release: 1.1.5 (fix-issue-166) (#179)
* bump version for flutter-webrtc.

* release: 1.1.5.
2022-10-01 23:18:53 +08:00
CloudWebRTC a60a2e861c chore: Add simulate for candidate protocol switch. (#176) 2022-09-20 17:47:38 +08:00
CloudWebRTC 8b88f9cb34 Expose dataChannel for e2e testing. (#161) 2022-09-07 15:15:23 +08:00
CloudWebRTC cbdfa634a3 feat: Support for capturing audio for chrome tab. (#158)
* feat: Support for capturing audio for chrome tab.

* Update code comments.
2022-09-07 15:15:11 +08:00
CloudWebRTC 7c01c115d8 release: 1.1.1-hotfix. (#160)
* release: 1.1.1-hotfix.

* fix analyze for flutter 3.3.0
2022-09-07 10:16:41 +08:00
CloudWebRTC 82e8a9eedf fix: close issue #154. (#155) 2022-09-07 10:13:32 +08:00
CloudWebRTC ef81d7b1ff feat: network type detection. (#156)
* feat: network type detection.

* fix unit test.

* chore: Make the network type consistent with the protocol.
2022-08-25 18:30:43 +08:00
David Zhao d66147b840 Update README.md 2022-08-24 22:59:58 -07:00
CloudWebRTC 1d621501f7 Add hardware api for camera, audio input/output selection. (#147)
* chore: Add hardware api for device settings dialog, camera preview, audio input/output selection.

* update.

* update flutter-webrtc.

* chore: add popupmenu for audio/video selection.

* chore: Improve menu tooltip text.

* Removed hardware settings dialog, added it to experimental branch.

* remove unused code.

* Respond to device changes.

* fixed `flutter analyze`.

* update.

* bump verion to v1.1.1.
2022-08-24 12:41:11 +08:00
CloudWebRTC c1445677f5 Fixed UI stuck when get thumbnails on screen sharing. (#149)
* fix: get thumbnails stuck.

* update.
2022-08-18 14:29:28 +08:00
CloudWebRTC 4390c4a00f fix: Align the version in .podspec with the package version (fix compilation errors under ios/mac). (#152) 2022-08-17 16:54:21 +08:00
CloudWebRTC 1bdf37a8a5 chore: update flutter-webrtc 0.9.2 (m104). (#146) 2022-08-15 00:27:04 +08:00
CloudWebRTC a554d92543 screen sharing for desktop. (#135)
* screen sharing for desktop (WIP).

* use git repo for testing.

* update.

* Add sourceId/frameRate to ScreenShareCaptureOptions.

* Compatible with flutter web.

* Rendering of camera and screenshare video tracks at same time.

* Remote screen sharing is shown first, and fixed sub/unsub button for screenshare widget.

* resolved conflict.

* modify flutter-webrtc to pub version.

* remove unused import.

* chore: Common params for Camera and ScreenShare.
2022-08-02 11:17:09 +08:00
CloudWebRTC c7722718dd Downgrade version settings to support flutter 2.8.0+ (#139) 2022-07-18 15:26:41 +08:00
CloudWebRTC e974b08589 fix: camera release. (#138) 2022-07-15 23:52:37 +08:00
CloudWebRTC 3d8bf96651 protocol 8. (#134)
* protocol 8.

* add FastConnectOptions.

* update.

* fix.

* Deprecated the top connect method.

* Add fast connect button in example.

* Create a Listener before connecting.

* Force protocol-v7 for deprecated APIs.

* remove commented out line.

* relative path import.

* update.
2022-07-11 19:54:08 +08:00
davidliu 531cbd1676 iOS screen share (#133) 2022-07-10 22:43:20 +09:00
CloudWebRTC 47cd505a52 bump version for flutter_webrtc. (#127) 2022-06-09 18:48:37 +08:00
CloudWebRTC 9ed0c534be There is a bug in defaultValue in fromEnvironment, so replace the code. (#125) 2022-06-03 09:12:04 +08:00
CloudWebRTC 741bead18c Autofill URL and TOKEN in debug mode. (#123)
* Autofill URL and TOKEN in debug mode.

* dart format.

* Set ENV priority higher than prefs.
2022-06-02 10:57:09 +08:00
davidliu e52a31f6ed Update bluetooth instructions for Android 12 (#122) 2022-05-25 23:07:48 +09:00
Hiroshi Horie 55400b4d63 update lock 2022-05-18 22:43:57 +09:00
Hiroshi Horie dc68c65b23 update dependencies 2022-05-18 22:02:24 +09:00
Hiroshi Horie 566937f630 compatibility with flutter 3.0 2022-05-15 20:56:20 +09:00
Hiroshi Horie 365c68c709 update packages 2022-05-15 15:15:13 +09:00
davidliu c43cd4b427 Bluetooth support instructions (#107) 2022-04-13 21:59:57 +09:00
Hiroshi Horie 8c227574ac prepare v0.5.9 2022-04-07 13:28:54 +09:00
Hiroshi Horie 910efe3d64 update protos 2022-04-03 00:31:06 +09:00
Hiroshi Horie 91b604a191 adaptiveStream and dynacast option in example 2022-04-03 00:18:28 +09:00
Hiroshi Horie 2f6042ef94 prepare 0.5.8 2022-04-02 15:30:55 +09:00
Hiroshi Horie 88b462432e Send DC info for syncState (#88)
* dc private methods

* impl

* pub

* id

* fix test
2022-04-02 15:09:02 +09:00
Hiroshi Horie ead3a7ea6a move sendSimulateScenario 2022-03-06 14:06:39 +09:00