1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-15 04:55:23 +02:00
Commit graph

39 commits

Author SHA1 Message Date
Adrien Beraud
9379af23ec callmodel: don't send profile
profile was not saved at reception anymore, this was wasting bandwidth

Change-Id: I3cbc1f1683a1e5a4b14616404cde5e27e07623e5
2024-06-21 14:30:53 -04:00
Kateryna Kostiuk
3673b0646c conversations: hide call view when swarm call is finished.
In the current implementation, the chatViewContainer of callStackView
is not destroyed for a swarm conference call because there are no
signals for call changes.This patch ensures chatViewContainer is used
when there is no call.

GitLab: #1625
Change-Id: Iefc39b747d92543244d30aa987eda134ff0a03f3
2024-05-24 14:39:20 -04:00
Sébastien Blin
28c1cbbb34 call-swarm: follow daemon changes
Change-Id: I32e83c2ccf82be78fbdd6e9932105228dd6dee8b
2024-05-21 08:48:01 -04:00
François-Simon Fauteux-Chapleau
77eddcd962 callmodel: fix bug in getProposed function
GitLab: #1607
Change-Id: I49062e2e02b4d8f39221243dcef49298117e2f9e
2024-05-17 13:22:48 -04:00
François-Simon Fauteux-Chapleau
a676ad395a callmodel: don't turn video on when accepting a call in audio
The function which is responsible for muting the camera when accepting
a call in audio assumes that the call's mediaList has already been
initialized, but this wasn't actually the case. This caused a bug where
the 'Accept in audio' button behaved exactly like the 'Accept in video'
button.

GitLab: #1621
Change-Id: I26251f51862cf5cd9b6d4daaf15270943c0e3c4e
2024-04-25 12:10:28 -04:00
Andreas Traczyk
588a8abdac misc: remove some mac-specific compiler warnings
Change-Id: I507637344e781273974fac2482e67556b4473ed3
2024-04-15 21:55:37 -04:00
Sébastien Blin
84150e8977 misc: bump copyright to 2024
Change-Id: I8d5f968fbedbc884c91416246049a0ef4cd652eb
2024-01-03 09:54:49 -05:00
Sébastien Blin
32b76c8da4 messagelist: use history given from daemon (except SIP accounts)
With Jami-Daemon >= 14.0.0, the client doesn't need to construct
itself the history. This part is now handled by the daemon.
This patch uses the new API:
+ loadConversationMessages->loadConversation
+ SwarmMessageReceived/SwarmMessageUpdated/ReactionAdded/ReactionRemoved
+ remove MessageReceived
+ ConversationLoaded->SwarmLoaded

+ No need to use loadConversationUntil, the daemon will load whatever
the client needs.
+ No need to clear cache, just reset the body and emit data changes

Everything should work like before (even re-translation & changing
preview preference)

Change-Id: Iaf1fa3e84e8e157ae2d0bec210977f9a34415ebc
2024-01-02 15:22:10 -05:00
Sébastien Blin
7f414f652e callmodel: remove old TODO
This was causing some weird conference states for swarm-call

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/916

Change-Id: I87ada927f223bc325eb0f62307c6dda51b330330
2023-11-17 09:42:39 -05:00
Sébastien Blin
04a8dfa468 callmodel: fix mute video
Change-Id: Ic0c05b9099bc21b8ee936cbe3aef641534d55f77
2023-11-07 11:31:21 -05:00
Aline Gondim Santos
d38858c1f3 filesharing: consider audio in the proposed list
When adding/removing a file sharing we must add/remove
not only the video but also the audio media attributes
to the media change proposal.

GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/485
Change-Id: Ifa6be8d500a43b1c2494501a4d6a6a6f009fdb62
2023-11-01 13:52:51 -04:00
Sébastien Blin
fc7109950b swarm-call: do not create 1:1 conversation for incoming calls in swarm
There was no way to differentiate a 1:1 incoming call and a call
from a swarm, because username couldn't be checked. Now, create
conversation only if it's a 1:1 call

Change-Id: I0094967914b4888d083b9adc1d2b11de467d6f48
2023-11-01 13:52:37 -04:00
cberthet
7a759dab7a Push-To-Talk : add global and local ptt
It works with a Pimpl which the right pttlistener.cpp depending
on the platform you are on (macOs, windows or X11). It is a
global PTT which listen to key events during calls. If the
global PTT is not supported, a local PTT is set.

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1402

Change-Id: I8399800966c737bb8e8a656ecbb6af7ac7cdde8c
2023-10-30 09:31:26 -04:00
Sébastien Blin
7a84518f2c misc: cleanup, remove cacheAvatars
Now there is only one client, this doesn't need to be configured

Change-Id: Iba1265fbdb8ab18bfb44fc7c2c70ebfe6000ee2c
GitLab: #1305
2023-09-18 10:25:12 -04:00
Aline Gondim Santos
ffcd3e59a4 incomingcall: use callstatechanged signal
To be able to show calls that are transfered, we must catch new calls
from callstatechanged signal. Move all logic from newincomingcall to
callstatechanged.

Change-Id: Ibd3ff5f8b4009895b3165348fd1638956f5f66d9
2023-08-08 10:48:50 -04:00
Sébastien Blin
1ed5bb1e1f participantsmodel: move to current call
Not useful in calladapter as we need to check if it's for the current
call. Also, fix some race-confitions where the callparticipantsmodel
was empty (in swarm-call with only the host in general)

https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/639

Change-Id: I69df1aa9f7d2d5b198c0fdc01e88e36f9c2c0bd7
2023-04-04 10:38:31 -04:00
Sébastien Blin
28476a01d5 callmodel: emit currentCall changed
Else, because we show the incomingCallView, the currentCall may
be different to what we show

Change-Id: I8d996df5db22a8b2cb4a69ed070c278c08816b07
2023-04-04 10:38:21 -04:00
Sébastien Blin
4ba641789d callmodel: update current call on conference creation
If a call starts in a swarm, the host must show the confId.
The current call wasn't updated when a call is upgraded to a conference
causing the wrong call to be shown due to the new logic

Change-Id: I990d39e6e04253bc087fd0ec73c5b6c7906f93d9
2023-02-28 14:03:52 -05:00
Aline Gondim Santos
cbdfe26dd1 callmodel: keep only one shared source in call
Change-Id: I561db4414c92419946cc1f7233979b1cf8841055
GitLab: #960
2023-02-20 08:59:47 -05:00
Andreas Traczyk
14ae000686 mainapp: dynamically load views
Introduces the ViewCoordinator component to promote dynamic view loading and reduce coupling between components.

The following objects are now created and destroyed as needed:
- SettingsView
- WizardView
- dialogs

Further refactoring will be required in order to do the same with the ConversationView, which now parents the ChatView and the CallStackView.

Gitlab: #897
Change-Id: Ice6a0c133e62e1e0c8d7fb99ec2c41234c049b59
2023-02-17 13:59:28 -05:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -05:00
Aline Gondim Santos
b16131e63a windows sharing: use windows id instead of name
Change-Id: Ie1708ae4be049206fb8337db1211b7844e45726f
2023-02-01 11:28:40 -05:00
Sébastien Blin
df63960974 callmodel: avoid to add empty medias
If a user join a conference with video enabled, but without any
valid camera and try to un-mute/mute in loop, it will add
new empty medias with incorrect sources causing duplicated participants
in the conference.

Change-Id: Ifa0dc090ca49ae6f9799f1209f3514cf540365da
2023-01-27 09:11:02 -05:00
Aline Gondim Santos
e1d85b2db0 window sharing: track window name change
If a window changes its name, we should share the parent process windows.
This can happen with chrome, visual studio code and file explorer for example.

+ Fixes non opening SelectScreen window when Jami language changes.

Change-Id: Ib16992dde08e6a9fa191c9fb1cbc4efd304efe6d
2023-01-18 17:19:00 -05:00
Nicolas Vengeon
c977c732f2 feature: improve advanced call information overlay
GitLab: #925

Change-Id: Id75b14bf431ac421b135beb75918dbf37a81d53c
2023-01-10 09:38:31 -05:00
Aline Gondim Santos
a28d5c5c55 windows: enable window sharing
GitLab: https://git.jami.net/savoirfairelinux/jami-project/-/issues/1294
GitLab: #481
Change-Id: Iafdb542d37f9a1d59b35d83ba779c1c2f2f0ca0f
2023-01-09 12:37:28 -03:00
Aline Gondim Santos
ce6c7dc02b callview: implement an observable object to detail the current call
Change-Id: Ic7025f66e472457e32149911053c8ff32e06bf21
2022-12-27 11:46:39 -05:00
Aline Gondim Santos
db1842295f calls: receive video after answer video call in audio only
Change-Id: Ida766243d61d4ceb87a1c3996f3fe47c6c1fecb6
2022-12-16 16:57:57 -03:00
Nicolas Vengeon
e5b54ad787 feature: show and share user location
copyright OpenLayers v7.1.0: ol.css
copyright OpenLayers v7.1.0: ol.js

GitLab: #867

Change-Id: I4e01f6d9727d56541d1b44023f26959ebe4fbe26
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
2022-11-23 14:05:36 -05:00
Sébastien Blin
60617a280c misc: improve UX when disconnected/disabled
Show a notification in the conversation like Anroid when the account
is disabled or when there is no network connectivity

Change-Id: I0f875fd24a2b29b8f7f48746651b156451e1250f
2022-11-17 13:58:08 -05:00
Sébastien Blin
0996b167d9 swarm: add call buttons and interactions for multi-swarm
+ Add call buttons to start a new call
+ React to events from the swarm
+ call interactions (Join call/Call ended, etc)
+ active calls area
+ Add call management logic in LRC
+ Feature is enabled via the experimental checkbox

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/312
Change-Id: I83fd20b5e772097c0792bdc66feec69b0cb0009a
2022-11-17 13:16:02 -05:00
Nicolas Vengeon
7e9dce9c00 feature: Add 'advanced information' call overlay
Change-Id: Ia54d01ec56e01d0c04e360ec06da87aa37fe74fe
GitLab: #510
2022-11-02 09:31:02 -04:00
Sébastien Blin
90ae50ee5f misc: rename DRing->libjami
Change-Id: I15d382406687cc506c1456ce43286ad6b0f23529
2022-10-29 16:53:42 -04:00
Aline Gondim Santos
3250c0298b misc: fix call hold
GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/769

Change-Id: I209215e0f81fe0e810a5cf243f122db9bb7065b6
2022-10-04 12:18:33 -04:00
Andreas Traczyk
15e133301e avmodel: use synchronous callbacks for DecodingStarted/Stopped
This is an older issue that has resurfaced where mobile device rotation
at the beginning of a call cause a frame-copy to a stale buffer because
the DecodingStarted event is handled asynchronously.

Noticed on Windows but I believe any non-dbus build should have it.

So we make all the connections blocking and adjust some parameters.
This commit also removes the DecodingStarted handler in CallModel which
was causing the client's target video frame to be reallocated for each
account present.

Change-Id: I23ac4e0bd4b446e7a532f0d362f7ecd209d3c790
GitLab: #536
2022-09-29 11:45:09 -04:00
Aline Gondim Santos
3dea363a59 fix: immediately announce video media change
Change-Id: I6ca77e4b60082202b8e1147b2982248c8545ff20
GitLab: #841
2022-09-27 11:03:37 -04:00
Aline Gondim Santos
0bb7e6b236 multistream: do not set video_1 if no video_0
Starting from audio only call:
 - start sharing;
 - add camera;
 - stop sharing;
 The camera stream should remain and not the sharing one.

Change-Id: If6dd0fb7a6ddd8603626c66c792e75e3cf05275e
2022-09-27 11:03:37 -04:00
Sébastien Blin
a374f8cf67 callmodel: remove deprecated switchInput
The only missing case were for changing the current default camera.
Other methods can be removed.

Change-Id: I91fce779f4a41fe4d667444aea57b1b454aa702b
GitLab: #651
2022-07-19 09:15:30 -04:00
Sébastien Blin
d9aee635a7 misc: drop 'new' prefix from model names
Change-Id: Idc960c96e4647dbb6f8c1d64f545fe25c80bbaa5
2022-07-12 10:43:59 -04:00
Renamed from src/libclient/newcallmodel.cpp (Browse further)