Commit Graph

14312 Commits

Author SHA1 Message Date
06560eabfc meson: ignore build directory
Change-Id: I81aaa48382725cc95d08ebf84ee00eb92747d3ff
2020-06-26 19:41:57 -04:00
224ca9cbd6 contrib: update opendht on Windows
Change-Id: I32788f8b817c4e38bdf1c689c751d0f0e09c4e74
2020-06-26 15:57:23 -04:00
04278ccbf1 misc: cmake changes for windows client adaption
Change-Id: I720705ed96b8754f039170eca132e952c8ca92a3
2020-06-26 10:53:09 -04:00
b5c090ec06 filetransfer: support channeled file transfers
With this patch, Jami will be able to use a current opened socket with a peer
to transmit files. This means that no ICE negotiation will be necessary
and if multiple files are transferred via the same socket

Change-Id: I8eaf7c38595bbf8e86098d6c8ad21afc9210fe6b
Gitlab: #228
2020-06-25 17:00:10 -04:00
e781b9c73a multiplexedsocket: various fixes
Check for endpoint existance to avoid nullptr exception.
Avoid to write multiple packets at the same time on the socket. This avoid
to mix packet.
Avoid to be able to shut the channel multiple times

Change-Id: If5158b51f55f368091616062ced4d641130c8468
2020-06-25 16:59:59 -04:00
c789b853ac fileTransfer: remove fallback via TURN
Change-Id: I058f2230952b8dc92c85e247aa83fd4304df46bb
2020-06-25 16:59:59 -04:00
6b0904ba03 cleanup: remove eventLoop from PeerConnection
Change-Id: If6e2bbc65a4e0029d55675717cb853e0a3dcf3c4
2020-06-25 16:59:59 -04:00
4ad81caf3d meson: add support for plugins
Change-Id: I767d7baa288edeeb93ceb16d6f2bbfff2b48d5c9
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
2020-06-25 10:02:05 -04:00
e1e3a39a8f dringctrl: add signal callbacks with data
Change-Id: Ief11a7a484973c15ff5fd03fb64240f267527b2b
2020-06-25 02:51:24 -07:00
f58647ea1a expose a few more functions for python
other updates
* fix config test
* remove bad import (allows dringctrl.py to run, where
  previously it would result in an import error)

Change-Id: I401629956b64d2c8d51c499113f1e03b96ae3338
2020-06-22 16:25:33 -07:00
6da70d8a6c misc: plugin files variable modification for cmake
Change-Id: Iac4f7395a26f4d3ca42df1c65838dc04ed801114
2020-06-22 14:54:26 -04:00
6f0a1d8206 recorder: fix rotation when hardware acceleration is used
Change-Id: Id3ae8c82ed11e1c6408b2733621fb5ddb58401ff
2020-06-20 13:17:16 -04:00
8b6e7d06ef contrib: update opendht
Change-Id: If1d318acf90ce34f3de8372bd9cf48c1ab0bde7a
2020-06-19 16:30:21 -04:00
f73decade8 contact_list: setContacts must call contactAdded()
Because setContacts() just change the contact list but never notify
the client, the client can't know the contacts from the new account.

Change-Id: I02e27f3b768dd7def661d3568a796a91eaa78751
Gitlab: #230
2020-06-18 15:50:42 -04:00
971b919771 ice-turn: Fixes the issue of audio loss after 5mn.
Send outgoing packets to the default remote address (the address
present in the 'c=' or 'a=rtcp' lines in case of RTP connections)
instead of the ICE nominated address.

Gitlab: #223
Change-Id: I4b17ee55ebd92292f994baf7a972514d95ae728b
2020-06-18 13:50:35 -04:00
1b0247f52a bin/nodejs: rename to Jami
Change-Id: Ieb7ee800f2b6f50f7ed2605a50b8dbeb32881645
2020-06-16 12:26:40 -04:00
91a9664acc fix: deadlock in check audio
When call state is RINGING manager will enumerate through all calls
to check current call. It will cause lock when subcall and parent call
update state at the same time.

Change-Id: I0850ea685046cf3c981700e524ca184becdb96e5
2020-06-11 16:49:33 -04:00
0df0d2bbfa autoadapt: reduce minimum bitrate for restrained link
Change-Id: I5b3200ac03212c0c082331b3ead563d4cbfa2396
2020-06-10 14:41:58 -04:00
06b20b62d0 siptransport: cleanup
Change-Id: I5693a690856cc45c9cc1a9833f544ff2f54ef963
2020-06-09 15:24:23 -04:00
37b6e1dbf7 data_transfer: use mutex to protect map's items deletion
Change-Id: Ibd1c8649483cb9a43d65a41a580968e3ca25561f
2020-06-09 15:19:28 -04:00
69be4789d8 build: libarchive for iOS
Change-Id: I43d881096bc375b9c33984c3078a04036de07737
2020-06-08 20:33:36 -04:00
622ae14dd1 jamiaccount: move checkPendingCall in another thread to avoid potential deadlocks
Change-Id: I5e4e54f64152c6fb6c81dfc5b1c8890878d9fdd4
2020-06-08 10:42:30 -04:00
a0df228d12 media: improve media switching speed
Destroying an ice session take quite some time and must be done in
the io pool

Change-Id: I159d249927a3aecbff640143902c8a6d33a52282
2020-06-05 10:17:32 -04:00
03ed99103d plugin: libarchive and plugins as default for linux
fix preferences set in first plugin loading
small logic changes in libraries loading
related to: https://review.jami.net/c/ring-project/+/14433

Change-Id: I4730f279ee38d337e3ef94dd9562a5dfc1a63c32
2020-06-05 10:17:10 -04:00
b7d4ab38d0 plugin: add plugin to dbus interface
Change-Id: I0bdffd53e9ba9463e3daacbc0641ab82e1ba89dd
2020-06-05 10:17:10 -04:00
7ff3cbd0cf plugin: add opencv and opencv-contrib for plugins builds
jpl uncompress regex modification

Change-Id: I54bf8f45c71777537e892189889b9814eed70a6a
2020-06-05 10:17:10 -04:00
08f2bc9be3 plugins: add conversation handler
Change-Id: Ic49979693cd0f4608bba3be4e01c38b3a7142275
2020-06-05 10:17:10 -04:00
d8ac20a3bb plugins: add call handler
Change-Id: If5296e71d4979962f71443fb298891202c8d2afe
2020-06-05 10:17:10 -04:00
2b2412e45f video: copy the frame props
+ Save the frame props on Scale or Copy

Change-Id: I816de4400392da13d3068609bd432a6918bfc81d
2020-06-05 10:17:10 -04:00
0bef03f191 plugins: add plugin manager
Change-Id: I2946387c8f30151a9ce2b979e5d395600bfa7dae
2020-06-05 10:17:10 -04:00
2e1fa4ff49 meson: add libarchive
Change-Id: Id45fe5976a1eb957e5b19777c724bac06d2dd92a
2020-05-31 19:51:43 +03:00
5277f84208 tests: add some unit tests for calls
Two tests are currently added. Just making a call (same device) via
the old way and the new way (via the ConnectionManager).

Change-Id: I109f79d2af0c4653fe83884171007a9d10d84a1f
2020-05-29 15:24:08 -04:00
dd0e365800 libarchive: use static for macOS
Change-Id: Ie3b7089156c481b5abfad1978ee90f241c0ef675
2020-05-28 11:28:24 -04:00
a89bcbe47a jamiaccount: remove eventHandler and prefer callbacks
IceTransport has the onNegoDone callback that can be used to
replace the current mechanism about checking ice transports

Change-Id: Iee96be646516f86136066418e38cbac3f8aefa21
2020-05-27 16:34:04 -04:00
c7d85bb926 tlsturntransport: avoid to call unnecessary callbacks
onStateChanged can be used to just clean some structure, for example
with TlsTurnEndpoint. Also, if called after move, the data can be
scrapped and incorrect.
Also, fix a cast in TlsSocketEndpoint when using ICE.

Change-Id: I8104bc8a0fd8e9cd3dae92e06eee45c22feced45
2020-05-27 14:17:11 -04:00
c3b68020e5 tone list: cleanup
Change-Id: I0bbcdd7e5d496ce79f31ed2c172c9b530c73f160
2020-05-26 15:09:24 -04:00
9214fe3bd6 ice_transport: move media ice destruction in IO thread
Ice destruction can take too long and delay media initialization.
This causes first packets sent by the peer to be missed.

This patch fix multi-device call bug with Android (and MediaCodec)

Change-Id: I4ceb1838e668d5be2ed36d1e0d2f00113833f63c
2020-05-26 13:36:07 -04:00
3d001535e5 misc: remove useless file
Change-Id: Iafd7d28c0cf808d73e5cfc3dc0a7916d4b3006a9
2020-05-26 11:52:50 -04:00
f1ff4c3e11 archiver: add libarchive
Change-Id: I2ff7d879de55e18bedcbddce74f743ffe8755ca6
2020-05-26 11:04:10 -04:00
acf910d421 opendht: fix bump
Change-Id: I8495f79ead4e15df756238624198f46ec72032f5
2020-05-26 10:30:40 -04:00
a9a2db0168 contrib: update opendht
Change-Id: I54c876133ec39454d4d71b8122b744da82dd030b
2020-05-25 15:36:58 -04:00
6c98e78d4b build: fix build on windows
isPasswordValid must return a boolean

Change-Id: I6465bfc73b08f203b2fa0b53deaf71b3406cabd6
2020-05-25 11:12:08 -04:00
9e51a942fb account: avoid calling hangup with mutex locked
A shared_ptr<Call> could be deleted during call to hangup,
causing call to detachCall() and deadlock.

Copy id set to avoid potential deadlock.

Change-Id: Ic43280351f19408fc308362f3d287090b90c736d
2020-05-24 14:36:58 -04:00
bcc75c7fd1 account: check if password is valid
Change-Id: Ice7459ba421c28f72c05bfda5283b733acef4695
2020-05-22 15:31:07 -04:00
5e4f17ea8a connectionmanager: check existence in callbacks
Change-Id: Ib6a956ac1b8b4667e017f6bda7dd26488076bb47
2020-05-22 12:12:58 -04:00
b7f6bfd2c6 account: make callIDSet_ thread safe
Change-Id: Ib3d36408841d1b339a00bf9135b308afaa93b218
2020-05-22 11:16:18 -04:00
387f6988cd build: add support for meson
Change-Id: I331522a09257d4ae787893ff72c270886c1aa210
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
2020-05-21 11:50:30 -04:00
c4a7918c0c sipvoiplink: fix creation and shutdown
Change-Id: If1ff8a0213b9687b0899b40d17feb56e491b35ca
2020-05-21 10:03:08 -04:00
0a37f25166 contrib: update opendht
Change-Id: I969de308275f02556bd9f82cf5d5c0973652dcab
2020-05-20 15:49:09 -04:00
3c8c73c9e2 call: use main thread for subcall changes callback
Change-Id: I2cbc8347859136e54235a38afdbf52b5475a355b
2020-05-20 10:35:51 -04:00