d2ae07d329
plugins: integration with Jami Plugins SDK
...
Change-Id: I2712856e0658bf5c1961f727f6233e9e79a34e76
2020-11-10 15:15:40 -05:00
9c966b2bd9
stream: remove unused method as we use setOnRecv
...
Change-Id: I9f7e256911ef9c59947f605fadc6fb08aec5d5d0
2020-11-10 12:03:02 -05:00
d92eb32294
data_transfer: use io pool instead of computation
...
as we send a file and not compute anything
Change-Id: I91b3682088d861f86af415fd526f85940944b278
2020-11-10 12:02:57 -05:00
30b2ce2cf7
fileTransfer: correctly link transfer to devices
...
Fix multi-devices file transfer
Change-Id: Id3061bb72253a45d50ef5a5c0474776ac39b17e7
GitLab: #323
2020-11-10 12:02:48 -05:00
c403af2354
channeled_transfers: fix peer()
...
Change-Id: Ia0a75f59b0281e80fd35f77d857b0241f1ccf8bc
GitLab: #323
2020-11-10 12:02:43 -05:00
6f2879f4e6
data_transfer: do not emit finished if not finished
...
Change-Id: I5e2231c4550d27a6b4ad8ae8b728227e12496dc1
GitLab: #323
2020-11-10 12:02:37 -05:00
fc9f919fee
connectionManager: inform device linked for connect callback
...
This will allow the file transfer to link to the good device
when cancelled (cf next patch)
Change-Id: Ieffa099160c9578215de2a86d35b24ceb580c5a2
GitLab: #323
2020-11-10 12:02:24 -05:00
591cdc179c
connectionManager: add some tests
...
Change-Id: I30883d1d43dd1c0c36be424b0937ecccb2100928
2020-11-10 11:32:25 -05:00
6f0a3f8aad
cleanup unused code, headers
...
Change-Id: I29512e29c2dea7d681e6d9e78ad24523e0414a13
2020-11-09 17:07:49 -05:00
e871757784
manager: add scheduleTaskIn
...
Change-Id: Iedd64541dc77783ccee60eaa1a64cdb9da134188
2020-11-09 16:16:18 -05:00
f3b758c97b
data transfer: use timer instead of thread
...
Change-Id: Ib9139ab9a826cc134cde5fb47e742a45914343de
2020-11-09 15:52:01 -05:00
891f29c37d
sipcall: check media_tr
...
avoid segfault. Backtrace from the play store
Change-Id: I5a44a5ee190cba22ed31ef4c7f64703b352db7fe
2020-11-09 14:32:35 -05:00
775dbedb1c
channeled_transport: check socket before write
...
Fix a backtrace got on play store vitals
Change-Id: Id8333476073ab5aca253a9e69a48bf364018d0fc
2020-11-09 14:30:39 -05:00
7eb1e7373d
videomanager: don't start audio preview in switchInput
...
Change-Id: I820d008b9f437e4396f076fade34f3f9d9f8d053
2020-11-03 13:59:42 -05:00
e7b3b5e4cb
pulseaudio: avoid creating duplicated streams
...
Change-Id: Idec4c34eae9cb5204c28d5b1599686f50011680c
2020-11-03 13:59:42 -05:00
cf7a0bf720
upnp/ice: add a patch to allow setting custom srfx candidates
...
The patch add a feature to PJNATH lib that allows setting custom
(nat-assisted) server reflexive (srflx) candidates obtained through
upn-igd or nat-pmp APIs.
Gitlab: #334
Change-Id: I7f88376cfee67885c465f969c2f21e38621abe5d
2020-11-03 13:41:07 -05:00
8a77516fe9
conference: allow rendez-vous without device
...
Add a parameter to dring.yml file, the video mixer resolution
is set from this parameter (not from videoInput anymore)
Change-Id: I57e2545e8794726a04c093388dee63aeea4b399d
GitLab: #265
2020-11-03 10:28:51 -05:00
747a6368d9
namedirectory: don't parse request in case of failure
...
Change-Id: I6f210246551b13aad13fc4c543a733a7ab5d2abd
2020-11-02 14:43:57 -05:00
50907ce68c
data_transfer: avoid to call callback twice for internal files
...
And remove some useless code
Change-Id: I564bf71c85f4e3fc7b730eb02c50fce355799bfd
2020-11-02 13:43:35 -05:00
e9cfe4fecf
jsoncpp: fix minimal version detection
...
Change-Id: Ie27b1d9fe7d2b7ca3a3b8bba113bf334b724bc83
2020-11-02 13:31:34 -05:00
14f6523a26
pjproject: set check to in progress when successful
...
Incorrect flag was set causing the turn connection to wait for
an event that will never happen
Change-Id: I9f6c6ad6aabc554bacabd3cefcf4099517e05ebe
2020-11-02 11:47:37 -05:00
03e3e28ef0
pjproject: remove bad pending
...
This pending flag is not present here:
https://trac.pjsip.org/repos/changeset/6071
and seems to cause non wanted deadlock. The close and incoming
connection should not change the pending status
Change-Id: I36fc6f26d5121789e7e0ca57bf1e72d3343b875c
2020-10-30 15:10:32 -04:00
67c38a17d9
multiplexed_socket: lock callback while accessed
...
Change-Id: I9b3bc097fd3be9899316133ac0f5161170b44281
2020-10-29 18:32:51 -04:00
aac51adbed
sipaccount: only create weak reference if it didn't exist
...
Change-Id: Ifedd141b70fdf31f07e4a1b572392fe71d62d589
2020-10-29 16:31:46 -04:00
b1649cbce8
contrib: Window ffnvcodec bump version to 10.26.0
...
Change-Id: Iaa326db9c2addf4d704aa9024f646607caf156ff
2020-10-29 12:59:52 -04:00
dff509510f
sipcall/ice: Reset temporary ice session
...
The temporary ice session created by sipcall, might not be
properly released if the call is rejected by the user while
searching/connecting.
Change-Id: I053c2a4c4bd864c4dd4c73488175da30d1bf08db
2020-10-28 15:57:50 -04:00
79ee4a52bb
sipaccount: use weak_ptr in timer context
...
Change-Id: Ia111e6597b61cab31c31e3d4dff96c5ea1798ff2
2020-10-27 14:33:02 -04:00
d0f8effd2c
peer_connection: avoid crash on shutdown
...
Change-Id: I3bf4bc4d06202f9c61208be55c78c7b44be52ba3
2020-10-27 13:33:01 -04:00
c116a7b436
coreaudio: use queue to start/stop audio
...
This patch add a queue to start/stop audio so it would
not block execution thread.
Change-Id: I4ca454a98395e71f00de38c511d18886d8ffbf1a
2020-10-27 13:09:16 -04:00
de7a0a6726
cleanup: remove turn transport
...
Change-Id: I13245dc4c38090e75450d6cb0f47956e6444ce93
2020-10-27 11:08:47 -04:00
e23414c5f2
opensl: lock mutex in AudioPlayer::stop
...
Change-Id: I618ae6f9ae849832e7704150b72f3c9ff3ba2cf4
2020-10-27 09:05:07 -04:00
62e29720b6
audio: update sample rate for ringtone
...
Change-Id: I84870f4e3ba2cdbc9df6d16c90aeb38d4d50c241
2020-10-26 22:12:27 -04:00
ad41cd6286
mxsock: replace async by a thread and fix shutdown
...
Change-Id: Ie5c14606c01c5c277b7939889eb035caa6607b52
2020-10-26 15:29:57 -04:00
84cf2b44de
data_transfer: cleanup
...
Change-Id: Id4a3cb459956827b472d41c0458dc0b85231f7c9
2020-10-25 11:47:03 -04:00
256a94c2eb
sipcall: cleanup
...
Change-Id: Iee0b40fd29704f115dbb56f4357de9153f2e2e36
2020-10-25 11:46:58 -04:00
1e929ec41e
channels: check for null
...
Change-Id: Id5df8a835428019ac0e11e7c722ee5d554c74a3a
2020-10-25 11:43:08 -04:00
67aa151d14
jamiaccount: call is over when no response from DHT
...
When sending a request to get a p2p socket, it's possible to not
receive any response, so the connection manager will inform jamiaccount
that no channel is created. In this case, we must stop the pending
call and remove the dummy call.
Change-Id: Ia071b7fd97051e909aa5edd795affc16f48de8c8
2020-10-25 11:03:45 -04:00
2e8519040d
data_transfer: cancelIce_ is not used anymore
...
Because all file transfers are down through channeled sockets,
cancelIce_ is not used anymore and a file is cancelled when
the linked channel is down.
Change-Id: Icbb075149ea61660bee0a9013b5cd87bc0eb2463
2020-10-24 14:22:19 -04:00
b0209b799b
connectionmanager: onShutdown must call all callbacks
...
When a shutdown appears for a multiplexed socket, all current
pending channels are closed, so callbacks related to these
closed channels must be closed.
Change-Id: Ic15d4552bc3c2445c9aa25babd93ad9d6c473e19
2020-10-24 14:22:19 -04:00
70b8ba60d9
sdp: cleanup
...
Avoids some unneeded strlen
Change-Id: I4324f858fff51e27f77819f5f9e7744b46a22260
2020-10-24 14:21:20 -04:00
2b0e7ef7f3
sdp: use uint16_t for port numbers
...
Change-Id: I7aedd16280d55b413768efce127853f28ec79e3c
2020-10-23 18:48:09 -04:00
3b2334fc77
account: do not overwrite upnpEnabled_ when disabling account
...
Change-Id: Ia97ba77204f2a40fe57934d71be02a3b2647db67
GitLab: #328
2020-10-23 13:35:51 -04:00
fbd1c5533e
audio_sender: mute state must be kept when restarting medias
...
When settuping the AudioSender, the audio can be started with
muteState_ = true. This avoid the case where the peer needs to
renegotiate the medias (like changing their camera resolution,
stopping a stream, etc) the audio will be restarted forgetting
the mute state.
Change-Id: Ic33e297809a72f4c7f85c1cdd354f99d953618cc
GitLab: #327
2020-10-23 11:20:55 -04:00
5717bd8f00
accountarchive: do not export proxy settings
...
Change-Id: I03ab00ba20522216ad2fb25128d35e2ca1a4b93d
2020-10-22 20:29:33 -04:00
0dbd7e5e6b
typo: registred -> registered
...
Change-Id: Ia7fdbfb41b27f3eacdddaa861041e966e455da0c
2020-10-22 20:26:21 -04:00
63d82fd651
ice transport: parse message directly
...
Change-Id: I659e807a5d071df57876659c9ddcd1daf91cd92b
2020-10-22 10:43:43 -04:00
5a0a3803b8
mxsocket: parse message directly
...
technique from:
https://github.com/msgpack/msgpack-c/wiki/v1_1_cpp_unpacker#client-controls-a-buffer
Change-Id: I595e7b9eefdc396e6800cfa95ec299388c69e3e0
2020-10-22 10:43:43 -04:00
35c6eab314
ice: log the address type of the selected candidate pair
...
Change-Id: Ie0eec02ad6f1eba6cbd19f198fafc5024e0a6bf7
GitLab: #290
2020-10-22 10:43:43 -04:00
00330fd841
file transfer: use string_view
...
Change-Id: If44dea4f9f1bf31ccb7237dca29c42735ecce5a8
2020-10-21 14:22:53 -04:00
037d2f72a9
string utils: use string_view
...
Change-Id: Id40af136f505a4409c606948d767bf0d341a2ad3
2020-10-21 14:22:53 -04:00