Commit Graph
87 Commits
Author SHA1 Message Date
CloudWebRTCandGitHub 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
cloudwebrtc 8d2220c274 upgrade protocol verstion to v9. 2023-04-07 11:04:15 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub bc4df105fa feat: support metadata update. (#259) 2023-03-27 09:19:52 +08:00
CloudWebRTCandGitHub 68d611a448 feat: topic for data-channel. (#260) 2023-03-27 09:19:42 +08:00
59ee3105fb feat: Support setVideoFPS for subscribe. (#258)
* feat: Support setVideoFPS for subscribe.

* Update lib/src/publication/remote.dart

Co-authored-by: David Zhao <[email protected]>

* Add comment for setVideoFPS.

---------

Co-authored-by: David Zhao <[email protected]>
2023-03-15 15:51:15 +08:00
CloudWebRTCandGitHub a992a27d0b update protocol to c3e5be2. (#256)
* update protocol to c3e5be2.

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

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

* chore: comment for recording event.
2023-03-08 13:09:04 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 2c72d6fd73 fix: set forceRelay if server response is enabled. (#251) 2023-03-08 10:27:59 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 6118635032 upgrade flutter-webrtc. (#240) 2023-02-15 09:59:07 +08:00
cloudwebrtc 75412779a2 dart format. 2023-02-03 15:33:20 +08:00
CloudWebRTCandGitHub bf79d0933c Update build.yaml
fix CI
2023-02-03 15:28:39 +08:00
CloudWebRTCandGitHub 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
cloudwebrtc 7a8ef9fd0c release: 1.1.11. 2022-12-12 11:39:05 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 663fc313c8 Update README.md 2022-11-09 09:53:18 +08:00
CloudWebRTCandGitHub afcad289dc docs: Add desktop sharing instructions. 2022-11-09 09:51:46 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 9b0f0604e1 Update README.md 2022-11-01 16:41:50 +08:00
CloudWebRTCandGitHub 6fa27d4244 Update README.md 2022-11-01 16:40:41 +08:00
cloudwebrtc 22a18d3e9c release: 1.1.7 2022-10-19 15:38:44 +08:00
CloudWebRTCandGitHub 3faa7a2094 fix ice config issues. (#192)
* fix ice config issues.

* update comment.

* The client has high-priority to set ice settings.
2022-10-19 15:30:49 +08:00
CloudWebRTCandGitHub 7acfb3faac chore: Make timeouts configurable. (#191) 2022-10-18 15:52:24 +08:00
CloudWebRTCandGitHub 257f2129fe update dependencies. (#190) 2022-10-18 15:52:14 +08:00
CloudWebRTCandGitHub 5a5c3fd732 Update issue templates 2022-10-18 09:55:57 +08:00
cloudwebrtc 860c66cd24 chore: Clean up pingIntervalTimer when closing SignalClient. 2022-10-16 22:37:04 +08:00
CloudWebRTCandGitHub 306ee473e9 fix: Fixed track not being correctly passed to localParticipant in FastConnectOptions, causing the camera to apply twice and not be released. (#188) 2022-10-16 22:02:37 +08:00
a771744d19 add repair guide for pod install failing. (#187)
* add repair guide for pod install failing.

* Update README.md

* Update README.md

Co-authored-by: David Zhao <[email protected]>

* Update README.md

Co-authored-by: David Zhao <[email protected]>

* Update README.md

Co-authored-by: David Zhao <[email protected]>

* Update README.md

Co-authored-by: David Zhao <[email protected]>

* Update README.md

Co-authored-by: David Zhao <[email protected]>

* format.

Co-authored-by: David Zhao <[email protected]>
2022-10-14 08:01:39 +08:00
CloudWebRTCandGitHub 8c09379244 Update issue templates 2022-10-13 16:36:36 +08:00
cloudwebrtc 362c3033cd update pub dependencies. 2022-10-12 14:05:43 +08:00
cloudwebrtc 96171f0095 release: 1.1.6 2022-10-12 11:12:18 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub a60a2e861c chore: Add simulate for candidate protocol switch. (#176) 2022-09-20 17:47:38 +08:00
CloudWebRTCandGitHub e106ce9308 docs: build considerations for ios. (#175)
* docs: build considerations for ios.

* Update README.md
2022-09-19 19:08:13 +08:00
cloudwebrtc a01c9be162 release: 1.1.4. 2022-09-15 12:41:22 +08:00
CloudWebRTCandGitHub b231fda521 Fix/timestamp type error in ping pong (#173)
* fix: timestamp type error in ping/pong.

* Improve pub analyzer score.
2022-09-15 12:15:30 +08:00
cloudwebrtc 34bfbc56a5 release: 1.1.3. 2022-09-13 14:01:43 +08:00
CloudWebRTCandGitHub 68c705dc9f Add sid for reconnecting. (#168) 2022-09-11 11:49:57 +08:00
CloudWebRTCandGitHub 7cfe402f1a chore: add force relay config. (#169) 2022-09-11 11:49:48 +08:00
cloudwebrtc e11c8468de release: 1.1.2. 2022-09-09 15:14:21 +08:00
cloudwebrtc 8738af84ef fix: fix setSpeakerphoneOn, close #167. 2022-09-08 19:45:46 +08:00
CloudWebRTCandGitHub 044606223e Expose RTPReceiver for getting track statistics. (#162) 2022-09-07 15:15:32 +08:00
CloudWebRTCandGitHub 8b88f9cb34 Expose dataChannel for e2e testing. (#161) 2022-09-07 15:15:23 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 82e8a9eedf fix: close issue #154. (#155) 2022-09-07 10:13:32 +08:00
cloudwebrtc d6d2f36428 fix: Fix flutter web getting networkType exception. 2022-09-05 10:41:14 +08:00
CloudWebRTCandGitHub bcd989b20b Add ping/pong. (#157)
* upgrade proto to latest version.

* add keepalive code.

* flutter format lib/src/proto/.

* reset ping timer before send ping.

* Update signal_client.dart
2022-08-29 15:15:56 +08:00
CloudWebRTCandGitHub 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
cloudwebrtc edf74758fd Update Changelog. 2022-08-24 13:17:55 +08:00
cloudwebrtc 594cc71323 Fixed flutter-webrtc/dart-webrtc version numbers to avoid WebRTC version alignment issues in podspec. 2022-08-24 13:02:26 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub c1445677f5 Fixed UI stuck when get thumbnails on screen sharing. (#149)
* fix: get thumbnails stuck.

* update.
2022-08-18 14:29:28 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 1bdf37a8a5 chore: update flutter-webrtc 0.9.2 (m104). (#146) 2022-08-15 00:27:04 +08:00
cloudwebrtc 157f94ea04 bump version. 2022-08-02 11:21:33 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub c7722718dd Downgrade version settings to support flutter 2.8.0+ (#139) 2022-07-18 15:26:41 +08:00
CloudWebRTCandGitHub e974b08589 fix: camera release. (#138) 2022-07-15 23:52:37 +08:00
CloudWebRTCandGitHub 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
CloudWebRTCandGitHub 66d4052ada fix issue #129. (#136) 2022-07-11 15:14:23 +08:00
CloudWebRTCandGitHub bcfea1e625 handle combined participant update. (#130)
* handle combined participant update (WIP).

* always emit events for new publications.

* update info for exist participant.

* fix tests.

* update.

* Move emitWhenConnected to Room layer.
2022-07-04 11:11:56 +08:00
cloudwebrtc 98d71699c3 bump version. 2022-06-20 15:58:34 +08:00
CloudWebRTCandGitHub f93f3c063c re-send tracks permissions after reconnected. (#128) 2022-06-14 17:12:37 +08:00
CloudWebRTCandGitHub 47cd505a52 bump version for flutter_webrtc. (#127) 2022-06-09 18:48:37 +08:00
CloudWebRTCandGitHub f092e2eecd Add audioBitrate option for publishAudioTrack. (#124) 2022-06-06 10:37:24 +08:00
CloudWebRTCandGitHub 9ed0c534be There is a bug in defaultValue in fromEnvironment, so replace the code. (#125) 2022-06-03 09:12:04 +08:00
CloudWebRTCandGitHub 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