Commit Graph
258 Commits
Author SHA1 Message Date
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
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 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 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
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
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 a60a2e861c chore: Add simulate for candidate protocol switch. (#176) 2022-09-20 17:47:38 +08:00
Jaspreet SinghandGitHub ce722f55bb Make MediaDevice data class (#174) 2022-09-16 14:05:28 +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
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 8738af84ef fix: fix setSpeakerphoneOn, close #167. 2022-09-08 19:45:46 +08:00
Jörn DepenbrockandGitHub a8ba441800 - do not set mandatory & optional parameters, when used in web (#164)
- web is not allowing it
- adjusted logic to use deviceId over optional parameters in web
2022-09-07 16:22:40 +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
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
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
davidliuandGitHub 46fe1cd7cd iOS Broadcast Extension instructions (#144) 2022-08-08 23:16:13 +09: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 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
davidliuandGitHub 531cbd1676 iOS screen share (#133) 2022-07-10 22:43:20 +09: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
David ZhaoandGitHub 8f877e98ec Set subscription to allowed when subscribed (#131) 2022-06-28 00:41:17 -07:00
CloudWebRTCandGitHub f93f3c063c re-send tracks permissions after reconnected. (#128) 2022-06-14 17:12:37 +08:00
CloudWebRTCandGitHub f092e2eecd Add audioBitrate option for publishAudioTrack. (#124) 2022-06-06 10:37:24 +08:00
Hiroshi Horie 6fd0d5578d prepare for 1.0.0 2022-05-18 01:23:33 +09:00
Hiroshi HorieandGitHub ff65370cbc Automatic mirrorMode for VideoView (#119)
* update protos

* impl 1

* re-compute when options update

* minor fix
2022-05-17 10:51:38 +09:00
Hiroshi Horie 6e65fe30f7 update protos 2022-05-16 00:52:37 +09:00
Hiroshi Horie 740efea006 fix checks 2022-05-15 23:58:35 +09:00
Hiroshi Horie 566937f630 compatibility with flutter 3.0 2022-05-15 20:56:20 +09:00
Hiroshi Horie 377e0c5209 export advanced types 2022-05-04 11:52:07 +09:00
davidliuandGitHub 63f78e5975 Fix validate url creation (#110) 2022-04-27 01:13:57 +09:00
Hiroshi HorieandGitHub e23131fbbf Pass adaptive_stream when connecting (#109)
* impl

* ignore fvm files

* Update pubspec.lock

* comment
2022-04-26 02:57:24 +09:00
Hiroshi HorieandGitHub 5d6e304e40 Trigger reconnect on Publisher PC disconnect also (#105)
* impl

* clean up _hasPublished
2022-04-09 01:34:26 +09:00
Hiroshi HorieandGitHub 84b9ef130f Change AudioSession configuration logic (#104)
* impl

* ref

* ref
2022-04-08 01:58:49 +09:00
Hiroshi Horie 8c227574ac prepare v0.5.9 2022-04-07 13:28:54 +09:00
Hiroshi Horie d1a772e648 fix 2022-04-07 13:21:12 +09:00
Hiroshi HorieandGitHub 48754e1672 [Protocol v7] Remote unpublish & expose permissions (#101)
* fix

* impl

* oldPermissions

* mods
2022-04-04 16:09:15 +09:00
Hiroshi HorieandGitHub cd4a3f5c8a Simplify internal events (#100)
* simplify internal events

* simplify
2022-04-03 12:35:08 +09:00
Hiroshi Horie c2fe83438d add missing proto dependency 2022-04-03 00:45:02 +09:00
Hiroshi Horie 6c513f6438 fix check 2022-04-03 00:36:12 +09:00