Commit Graph

74 Commits

Author SHA1 Message Date
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
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 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 8b88f9cb34 Expose dataChannel for e2e testing. (#161) 2022-09-07 15:15:23 +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 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 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
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
Hiroshi Horie dc68c65b23 update dependencies 2022-05-18 22:02:24 +09:00
Hiroshi Horie 365c68c709 update packages 2022-05-15 15:15:13 +09:00
Hiroshi Horie 8c227574ac prepare v0.5.9 2022-04-07 13:28:54 +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 da8fe67ec6 update to flutter_webrtc 0.8.3 2022-03-02 08:12:19 +09:00
Hiroshi Horie 2959d47d5b update lock 2022-03-01 12:59:52 +09:00
Hiroshi Horie 7843e87254 Update WebRTC to m97 (#86)
* update WebRTC to m97

* use flutter_webrtc's master
2022-02-26 13:23:36 +09:00
Hiroshi Horie c465d37c88 start preparing for 0.5.7 2022-02-17 14:58:16 +07:00
Hiroshi Horie 95fbaf1a7f run pub update 2022-02-10 20:36:45 +07:00
davidliu 9bd546b9a2 tests and mocks for e2e testing (#78)
* tests and mocks for e2e testing

* formatting

* fix analyze errors
2022-02-06 20:36:42 +09:00
Hiroshi Horie cf476e365b remove client side ua parsing 2022-01-31 20:03:14 +07:00
Hiroshi Horie 224047c31f Session migration (#72)
* impl

* retry logic

* simulate

* pass checks

* adjust log level

* retry condition

* fix simulate scenario params

* format

* use `RTCPeerConnectionState` instead of `RTCIceConnectionState`

* adjust retry

* additional check for completer

* more logging

* fix id

* pub

* change package

* doc update

* retry tests

* format

* apply suggestions
2022-01-25 00:53:18 +07:00
Hiroshi Horie 56aeacc291 Capture client info (#71) 2022-01-18 16:16:05 +07:00
Hiroshi Horie 677ad94e75 more logging for dynacast 2022-01-03 16:37:51 +07:00
Hiroshi Horie e154f7ace0 prepare 0.5.6 2022-01-03 09:19:21 +07:00
Hiroshi Horie ea5c324328 Dynacast (#62)
* signal

* engine

* dynacast option

* implement

* update for non simulcast

* use low when rid is null

* firefox comment
2022-01-03 09:02:06 +07:00
Hiroshi Horie 38328c5e0d Fix: Visibility Optimization randomly not working (#65)
* use widget id instead of state id

* ignore local video view events

* switch remote view visibility also

* use Key for a reliable id

* remove local check

* clean up

* redesign

* check mounted

* remove mount check

* more optimization

* quick wake up

* mark internal

* rename to adaptiveStream
2022-01-01 12:59:24 +07:00
Hiroshi Horie 4a025a4ed2 prepare v0.5.5 2021-12-13 02:53:47 +07:00
Hiroshi Horie 90ca936d14 update pub dependencies 2021-12-12 14:14:27 +07:00
Hiroshi Horie 0356599bd2 update flutter_webrtc, add import_sorter 2021-12-05 13:41:43 +07:00
Hiroshi Horie 679d0b81d3 update dependency 2021-12-03 02:13:14 +07:00
Hiroshi Horie c8a6a3f0c1 Windows support (#34)
* generate windows files

* adjustments

* attempt compile

* Fix windows build

* Add note about VS 2019

* Update .gitignore

Co-authored-by: Artur Shellunts <shellunts.artur@gmail.com>
2021-12-02 21:20:10 +07:00
David Zhao 89117c2980 version bump 0.5.4 2021-11-27 10:37:47 -08:00
Hiroshi Horie 4f0973ce66 Match muted behavior with JS SDK (#32)
* attempt 1

* implement

* clean up

* clean up

* cleaner code

* mute was opposite

* fix suggestion

* fix local pub muted

* update example

* update pubs

* format
2021-11-20 02:39:52 +07:00