1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-03-28 14:56:19 +01:00
Commit graph

26 commits

Author SHA1 Message Date
Amin Bandali
db0fd56763 misc: update (and fix) copyright years to 2022
Change-Id: I8eb66c1c3cddb3bf73b6784a9876dd9dc9c12481
2022-01-06 11:24:13 -05:00
agsantos
f238b9d8ee x11: window sharing
GitLab: https://git.jami.net/savoirfairelinux/jami-project/-/issues/1294

Change-Id: I6dfaea6c65323d072536518f3ac7abc426d33efd
2021-12-01 11:09:13 -05:00
agsantos
a126eb69cb
videoInput: use new api
- VideoSettings OK
 - PhotoBooth OK
 - Calls - mostly ok, have to test camera unplugin/replugin/multiplecameras
   -> seems to leak, client freezing in calls/conferences
 - Recording - OK

Change-Id: I49362900979d48abf2507ab89fcb261808423445
2021-11-17 16:26:24 -05:00
agsantos
3dd206e6f0 calls: fix stop file/screen sharing fallback to camera
If we start a file/screen sharing from a call with closed camera,
once we stop the sharing, the camera should not open.

Change-Id: Ifb6986f8c5452d721f72fb15072cd5ab8a6d69a2
GitLab: #586
2021-11-04 15:01:09 -04:00
Ming Rui Zhang
e0737f4b70 settings: refactor for SettingsView - stage two
1. Remove redundant functions in AvAdapter
2. Add CurrentDevice for video device treatment
   Audio device treatment should be improved in the next
   stage
3. Add QSortFilterProxyModel to all video list models and
   manage them together to avoid redundant function calls
4. Video device call action should be responsive to device
   change as well

Gitlab: #508

Change-Id: I3df949a08bc19042b73f033139cd6ab06925c0b6
2021-09-14 16:52:45 -04:00
Ming Rui Zhang
a196513d2e settings: refactor for SettingsView - stage one
1. Add account config QML properties and use them
   in settings directly to avoid manual update
2. Rough clean up for video/audio settings
3. Remove settingsAdapter entirely and split the
   responsibility

Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
2021-09-14 16:52:30 -04:00
Andreas Traczyk
f7ce4b69f6 audio-preview: synchronize start/stop calls off the UI thread
Use QThreadpool to queue the start and stop of the audio device preview.

Gitlab: #522
Change-Id: I476e754628e0d1e00475c0ead7f1421579683ada
2021-09-14 09:04:11 -04:00
Andreas Traczyk
748e161b2b video: don't start the camera for no reason when it's plugged in
When the video device count goes to 1 from 0, previewing is
activated even if we're not in the av settings view. This patch
emits a signal that can be responded to by the settings view.

Gitlab: #489
Change-Id: Id0ed2809015359423ec0f829d8494f598a89c8ea
2021-08-11 10:08:00 -04:00
Andreas Traczyk
3d53476b8a calloverlay: reflect changes in av device list counts
- respond to audio device events to re-populate the audio input and
  output device lists
- don't show a selection menu when no devices are available
- cleanup videoinputdevicemodel

Gitlab: #411
Change-Id: I082818756bae202a67b14bfbe0a254384a777a5d
2021-06-02 17:58:23 -04:00
Ming Rui Zhang
e1fbb3a7d4 misc: refinement for various context menus and share actions
Change-Id: I4e6fff2c74ce6ace1464fa6a4569e4b3fbfae68b
2021-06-01 14:11:44 -04:00
Ming Rui Zhang
48536ecc0c mainoverlay: add stop sharing screen options
Gitlab: #409

Change-Id: I4ceb5835b0b5e218d0550fbc3e2f0787bdd249f9
2021-05-27 17:47:21 -04:00
Andreas Traczyk
abde3cbac0 calloverlay: implement new action button design
- minor cosmetic changes to the call view overlay
- add the ability to change audio/video input during a call
  from the call screen overlay

Gitlab: #411
Change-Id: Id6bbb2278d807f3bd7ad1478db405669088584ce
2021-05-27 13:58:29 -04:00
Ming Rui Zhang
2ae9521558 avadapter: consider devicePixelRatio and screen layout when sharing screens
Gitlab: #395

Change-Id: Ic34a084fb9dc5a6605e3242ae7823db35e01a0d8
2021-05-07 16:06:19 -04:00
Mingrui Zhang
2e60568307 project: don't use Qt keywords for signal/slot/emit
Gitlab: #320
Change-Id: Ia2a16a05be3fd6452a39df999660a5c8440eea13
2021-04-02 15:37:43 -04:00
Andreas Traczyk
e60eeff357 injection: place parent QObject as last parameter in ctors
Lrc object injection should never be a null pointer.

Change-Id: Ib574c751673fd35e223ce2447cee74bce7dfbf3e
Gitlab: #337
2021-04-02 15:37:33 -04:00
Ming Rui Zhang
7951764b2e misc: remove LRC singleton
GitLab: #337

Change-Id: Ifb671d38d364714818650a8154c43a5787460039
2021-03-22 15:47:14 -05:00
Andreas Traczyk
3a157ed8eb avadapter: return call id by value
This function either returns a reference to a local, or a QString
member whose lifetime is unknown to the caller. We should just
return by value.

Change-Id: Ib87288105daa6bf8cb6b803948411275da980c54
2021-03-17 14:30:06 -04:00
Pierre Lespagnol
b7d4e1128a avadapter: fix screen sharing area for linux
Change-Id: I49dd406a8eca39e628985ea3d69a9c31e59fdc74
2021-01-07 16:06:47 -05:00
ababi
7f7e4b2202 misc: change the way of manipulating window's display screen
- avoid using screen number as display number on Linux
- support for area selection over multiple screens on Linux
- make getFrame null safe
- make video-full-screen mode show in the correct screen
- add the option of "share all screens"
- use x11 api for unix system for sharing screen areas

Gitlab: #160

Change-Id: Ibe47a4150b6a213950a0533d85e8cd7d5d159482
2020-12-14 12:55:21 -05:00
Ming Rui Zhang
3ade8ee12f video: add black background in previewrenderer and flow optimization
Change-Id: I979dcc7d7a65029a1ee361579e51575ea813f0e7
2020-12-11 17:04:43 -05:00
Andreas Traczyk
c472fe83ae video: fix rendering on linux
Change-Id: If6a2deda08663f7edf9fa527bc1c592f60e6a371
2020-12-10 09:46:52 -05:00
Andreas Traczyk
4fd0c33450 avsettings: use a more declarative approach for the level meter
- prevents a slurry of calls to stop/startAudioMeter

Gitlab: #120
Gitlab: #124
Change-Id: I6118baab1a3f3e08e72a60a35682ce753e05e2eb
2020-10-02 13:43:52 -04:00
Andreas Traczyk
eacf5bb458 misc: apply clang-formatting
Change-Id: I9d2ec496aa8d6cc0a41f9096ad153308c3308e8b
2020-09-10 18:00:08 -04:00
Andreas Traczyk
ae058405a5 qml interop: remove clientwrapper
The clientwrapper class masks granular object registration within
qml, and encourages code duplication between viewmodels(adapters)
and code lasagnafication and the misuse of declarative Qml.

Change-Id: I85fef214363e62e54fc0681282323ea4861000d6
Gitlab: #66
2020-09-10 14:55:07 -04:00
Andreas Traczyk
eb53a622b7 qml interop: start replacing QMetaObject::invokeMethod with signals
It seems concurrent calls to invokeMethod using qml component
object pointers can lead to access violations. These method
invocations can be replaced with a signal/slot mechanism.

This patch replaces only the invocations in conversationsadapter
and accountsadapter that are known to be problematic for now.

Some code cleanup is done for QmlAdapterBase derived classes.

Gitlab: #61
Change-Id: I72f47c9229a9bf42299ae52822c3a1a8c04eb423
2020-09-03 16:25:59 -04:00
Sébastien Blin
1f91576a0b
client-qml: add initial commit
Change-Id: I32bfdd2a618aa7ac6181da2697e241667b010aab
2020-08-03 13:27:42 -04:00