Commit Graph
89 Commits
Author SHA1 Message Date
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 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
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 <[email protected]>
2023-02-06 12:43:27 +09: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
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 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 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
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
davidliuandGitHub 531cbd1676 iOS screen share (#133) 2022-07-10 22:43:20 +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 HorieandGitHub 84b9ef130f Change AudioSession configuration logic (#104)
* impl

* ref

* ref
2022-04-08 01:58:49 +09:00
Hiroshi Horie d1a772e648 fix 2022-04-07 13:21:12 +09:00
davidliuandGitHub e7333174b5 Fix device id not working for web (#91)
* update gradle

* Use either sourceId or deviceId as needed

Web does not allow for mixing optional constraints with modern constraints
2022-03-12 02:26:09 +09:00
davidliuandGitHub 288bd99dca add ability to select capture device ids (#89)
* add ability to select capture device ids

* format fix
2022-03-10 00:08:21 +09:00
Hiroshi HorieandGitHub 7c16d2f3ec Update param computation (#87)
* import sorter config

* organize video types

* ignore import sort for proto files

* equality for video types

* impl

* adjust defaults

* max
2022-03-01 10:45:24 +09:00
Hiroshi Horie 0a339b6252 organize video types 2022-02-25 15:45:46 +09:00
Hiroshi Horie 8b4f754059 fix presets 2022-02-22 10:36:43 +07:00
Hiroshi HorieandGitHub 2366eb9f7c update presets (#85) 2022-02-22 03:13:09 +07:00
Hiroshi HorieandGitHub 56aeacc291 Capture client info (#71) 2022-01-18 16:16:05 +07:00
Hiroshi HorieandGitHub 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 1ed757aca0 organize dirs 2021-12-21 17:57:18 +07:00
Hiroshi HorieandGitHub f458f052a5 Fix: RemoteTrack's initial mute state (#59) 2021-12-17 12:26:33 +07:00
Hiroshi Horie b24fad0f3b better platform check 2021-12-15 18:44:01 +07:00
Hiroshi Horie 3d5e8a7dd8 update presets 2021-12-14 13:47:29 +07:00
Hiroshi Horie 4e83609819 screen share presets 2021-12-14 00:55:47 +07:00
Hiroshi Horie a82c5a7a50 VideoDimensions instead of width height 2021-12-13 21:49:42 +07:00
Hiroshi HorieandGitHub b6494a8ede Default capture options (#51)
* default capture options

* separate camera & screen share capture options
2021-12-13 02:21:46 +07:00
Hiroshi Horie b91c822fba more docs 2021-12-12 19:09:38 +07:00
Hiroshi Horie 8041f45def option docs 2021-12-12 18:32:34 +07:00
Hiroshi HorieandGitHub b85ecc1588 Fix: mute Remote mute/unmute events (#54)
* fix

* format
2021-12-12 14:01:58 +07:00
Hiroshi Horie 2b88ffd5f9 better logging for mute 2021-12-11 18:26:58 +07:00
Hiroshi Horie 7e1164a74c fix imports 2021-12-10 23:14:21 +07:00
Hiroshi Horie 7a8f03963e fix imports 2021-12-10 00:27:43 +07:00
Hiroshi Horie a706a5e1fb organize ConnectOptions RoomOptions RTCConfiguration 2021-12-10 00:23:45 +07:00
Hiroshi Horie c4e56af4c0 format 2021-12-07 12:33:12 +07:00
Hiroshi Horie d20a6e2ddb fix compiling since VideoQuality moved to another file 2021-12-07 12:30:46 +07:00
Hiroshi Horie 5f12be5f11 update proto 2021-12-07 11:54:39 +07:00
Hiroshi Horie 24e26fde78 Merge branch 'main' of https://github.com/livekit/client-sdk-flutter 2021-12-07 02:04:45 +07:00
Hiroshi Horie d4a37dd720 fix compile 2021-12-07 02:03:53 +07:00
Artur ShelluntsandGitHub 662b97b273 Fix mute/unmute on Windows (#47)
ReplaceTrack is not implemented in flutter_webrtc/windows.
2021-12-06 19:45:04 +01:00
davidliuandGitHub 6b80d105f4 Update flutter_webrtc (#48)
Also update video constraints to use modern constraint syntax
2021-12-07 00:46:03 +09:00
Hiroshi Horie e06936de2d sort imports
`flutter pub run import_sorter:main --no-comments`
2021-12-05 13:44:14 +07:00
Hiroshi Horie df33560426 CameraPosition docs 2021-12-05 10:59:42 +07:00
Hiroshi Horie 36173eb3c6 more docs 2021-12-03 11:47:47 +07:00
Hiroshi Horie 2cd3198cdd organize track & pub to directory 2021-11-30 17:29:18 +07:00
Hiroshi HorieandGitHub 8037d80674 Release camera/mic when muted, restartTrack when unmuted (#39)
* re-structure tracks

* publication.track is now a LocalTrack or RemoteTrack

* restartTrack when unmute

* stop/start on restartTrack

* move to mute/unmute

* format

* remove comment
2021-11-30 15:58:19 +07:00