Commit Graph

14018 Commits

Author SHA1 Message Date
616e2df75b callmanager: remove unused signals
Change-Id: Ia5659f670e4f1164afc1ac1016c9dd7fc187d0f3
2019-11-11 16:23:46 -05:00
d87f2d32c1 smarttools: use main scheduler instead of dedicated thread
Change-Id: I9fdfd1a0e1815d37dbacc871c8ef27586a7a605f
2019-11-11 16:23:46 -05:00
5e34506566 video macOS: use device id
Change-Id: I341fcfda799bc9bda2f3683a4cf3e59d24bda269
2019-11-09 20:06:49 -04:00
1743676671 autoadapt: enable by default
Change-Id: I76fe2095603f2f6cdc8181bbc58fba7b3474eaff
2019-11-08 20:17:05 -05:00
cff1bf40ae media/encoder: fix encoder.json CRF setting
"setDictValue" override "av_opt_set_int" settings. Always use av_opt_set_int to set CRF

Change-Id: I3a75773419901adf5d24d71bdbf5c571e6ab7178
2019-11-08 20:17:05 -05:00
8fc78c4bcb media/encoder: add CBR rate mode for autoadapt
Change-Id: Ida76ac6be3f33a15df7942afb40d21c5594781c5
2019-11-08 20:17:05 -05:00
5839f47add autoadapt: use Kalman to filter one way delay gradient
Change-Id: I0897ae4dd8a274721346d84c5c392589983acfe4
2019-11-08 20:17:05 -05:00
fa6f4a8771 autoadapt: Add RTP Absolute Send Time extension
Change-Id: I81a9a4cfc3addaa4be00f45ddc79b5e9642ed4ae
2019-11-08 20:17:05 -05:00
cc4f10cedf autoadapt: Add REMB feedback
Change-Id: I2b1c37414f60d4d87e23539cbcb57ca4b4350754
2019-11-08 20:17:05 -05:00
0f348a8f09 recording: enable on iOS
Change-Id: I3df37987a306dc604529bc93c0aabe6a10d8b0a2
2019-11-08 18:27:20 -05:00
2d90977034 upnp: asynchronous open/close ports
The UPnP stack now opens and closes ports with an
asynchronous mechanic and with callbacks.

Every time a mapping request (open or close) is sent,
a callback is registered and managed by the context.
When the corresponding protocol executes the request and
gets an answer, the right callback is found and dispatched
to its controller. A timeout of 1 second is implemented
on each request.

Controllers can now be tracked with a unique Id (a string
that represents its location in memory).

The IGD class now tracks its current active ports and
manages the number of users for each port.

The PMPIGD class now operates using a queue of mapping
requests. Whenever a request is made to the natpmp protocol,
it saves the request to its corresponding list (mapToAdd,
mapToRemove or mapToRenew in the PMPIGD class) and notifies
the main natpmp thread. The thread then checks if there
is any pending map requests in the PMPIGD queue and treats
them accordingly.

Add Nat-Pmp support for windows.

Fixed bug where nat-pmp wouldn't find an IGD on a new interface
after a connectivity change. The problem stems from the fact
that, for one, the nat-pmp handle didn't get cleared internally
once a connectivity change occured. This would cause the nat-
pmp library to try and send searches on a socket that was
bound on the old gateway. Secondly, if you don't wait for a
little period of time, the natpmp library would discover the
old IGD on the old interface before the connectivity change
modifications were completed. Now we restart the nat-pmp
process one second after the connectivity change triggers.

Change-Id: I39a9b57e237deaa65eef4464a1838eaa3c5bbb03
2019-11-08 17:15:19 -05:00
dca8e05636 contrib(win32): enable pad filters in ffmpeg
- Fixes failed transpose filter parse during conference calls with
  rotation.

Change-Id: Iba13d02acb34d7d57391189cc9d69aebd7526582
2019-11-08 16:47:38 -05:00
bb3fb0f9b6 jamiaccount: check accountManager, cleanup
Change-Id: I44b6f6663eaaca1bf9811ac220eac68f175bb28b
2019-11-08 14:52:32 -05:00
e5c191fa3d autoadapt: add signal to set bitrate dynamically for MediaCodec
Change-Id: Iba619f891d0412ca4abe4e03e4b2a11d5a3b2488
2019-11-07 18:40:16 -05:00
f65a652948 media/video: fix default bitrate video
Change-Id: Ieaf01c576efd98bf9083f01dd5777df97b7d3799
2019-11-07 17:35:15 -05:00
e3cf52c569 dbus: only authorize one daemon per DBUS_SESSION_BUS_ADDRESS
If two daemons are necessary, "DBUS_SESSION_BUS_ADDRESS=xxx ./dring"
is enough. Or use another session.

Change-Id: I8e8b5db50cf2b372b44e4ae643ee3a6643ca5142
2019-11-06 17:13:16 -05:00
b475437a62 Revert "ffmpeg: change rtcp ratio"
This reverts commit 24bbdc5749.

Reason for revert: not needed anymore

Change-Id: Id4c3872e2acb87edde225adcdd30b00faf82195f
2019-11-06 16:43:33 -05:00
fe41252a3c contrib: update opendht
Change-Id: Iea4dc291ecd000a2779a579097c3e589cba99470
2019-11-06 14:17:43 -05:00
55e56b2832 rotation: compute proper display matrix rotation
Change-Id: I727a0040b4a80afa810db7b6042a3e7ec093f4b4
2019-11-06 14:17:43 -05:00
48e487776b upnp: only create upnpController if account is active
Change-Id: I4bef4ef4db759caa805dd14bc7f4fe0107e7839b
2019-11-06 14:09:47 -05:00
d5bfc81e40 video_input/mobile: remove deprecated APIs, don't use loop
Allows switchInput on the same VideoInput instance on Android

Change-Id: I421a7d6e3f7b87d37a3108483cd280dc03c113cf
2019-11-06 12:18:07 -05:00
8c7398e937 manager: allow switchInput on conference
Change-Id: I83e6fe6ff660fb5dc6dc2b834131dcb098d13ade
2019-11-06 10:37:16 -05:00
84ad5808c3 manager: conference cleanup
Change-Id: I6282eaeefc8f8e17278991ba8c0f64b30234adac
2019-11-05 15:20:25 -05:00
eccacbc451 jamiaccount: remove account if import from backup is failing
Change-Id: I18bbe04999e7fe92ec71672644bb2dc3fd725ec2
2019-11-05 12:47:52 -05:00
8d06c9de37 video mixer: check for invalid format
Change-Id: I963858322e8cb2f4035238acc6b3c542b2a0a06e
2019-11-05 11:12:16 -05:00
e0ab97f811 contrib: update opendht, restinio
Change-Id: I3e0666d49fa4dbdb0a3ecfdabc95503a419ab142
2019-11-05 11:12:11 -05:00
be2a2599da contrib: update nettle
Change-Id: Ie19ffbaa9f44a1ad1ba5de15d14149b5bfacef34
2019-11-05 11:12:11 -05:00
0444665228 sip: prevent checkNATAddress refresh registeration immediately
- For OVH sip trunk, if too many registeration requests are sent
  at the same time, it will send back a 500 status code to prevent
  us sending registeration request in certain time period.

- That means at the starting of the programme, the account is not
  registered, which is the cause of the issue #643

Change-Id: I89dd7331704c6abdf1021c3e3cecd2b55516c4d1
2019-11-05 11:12:01 -05:00
ef4e6fa89a videomanager: handle null frame
Handles case (and avoids crash) when copying a hw-encoded frame
from Android.

Change-Id: I266afe86018b0d2f6c944314397115cf01c6af04
2019-11-04 16:53:50 -05:00
d6e2b8a332 video device: use device id instead of friendly name
- Video settings, and APIs will now use a device id, which will be
  a path on platforms where everything is a file, and a DevicePath
  with a bonus ffmpeg-dshow compliant prefix on Windows.

- The device's friendly name is uniquified, and stored in the
  settings still, but only retrieved/translated for UI.

- MRLs are now constructed with the device id.

Change-Id: I092f08cc2cd31bd78aeec5c774c2cc33d75c1d4e
2019-11-01 16:45:28 -04:00
ca26195f05 videomonitor(win32): bridge ffmpeg/win32api device ids
- Fixes wstring conversion issue when obtaining video capture device
  friendly name, and uses device id when adding/removing devices using
  the usb-pnp monitoring APIs. As the uid suffix reported by the pnp
  api is different from what returns from the device enumerator, we
  strip the uid and make substring searches for device nodes instead
  of exact matches.

Change-Id: Ibe3d79ed0632c663c2b067772ca592d5c5d466e6
Gitlab: #171
2019-11-01 16:42:25 -04:00
0613ef38e0 audio(win32): fix crash when changing audio devices during call
Change-Id: I09393d058dfd89f124998fe0873ffe45244bfb75
Gitlab: #170
2019-11-01 12:51:50 -04:00
091614951a contrib: update opendht
Change-Id: I9c09c4ac6e6ee5e3df91c1d3d84b07ab79afa348
2019-11-01 10:15:43 -04:00
4a816da4fc video_device_monitor: add warning
Change-Id: Ie02b58cb19e9698e45afb807c7005b79505ce850
2019-10-31 16:27:23 -04:00
52ade14d7f audio: resample in call tone
Fix crash on macOS when receiving a call during another running call

Change-Id: I251fe0ca34a6ec12ebe63f6c3915c535821e25e6
2019-10-31 15:19:02 -04:00
0b2db06aaf contrib: update gnutls to 3.6.10
Change-Id: Id4418d64f32bfe7a080005969b5acb50e9ded227
2019-10-31 13:34:44 -04:00
25ae46f5f9 ice: ignore locale when building the ICE answer
Change-Id: Ie905eada01e6d0a9cebbd4af99c159afcb7195c1
2019-10-31 10:28:19 -04:00
efe342a319 file transfer: use different ice for each transfer
Multiplexing should be redone after the ConnectionManager patch

Change-Id: I61588c9fb0d0dc86093a09405b2a6078341106ca
2019-10-31 10:28:19 -04:00
0b68631759 file transfer: cancel current ICE operations to avoid to block the main loop
Change-Id: Ibcc12d0113431f4b432d2c5e1938abb4d4bc82e8
2019-10-31 10:28:19 -04:00
80657de4a1 file transfer: check if turnAuthvX_ is a valid pointer
Change-Id: I80b240f39b426dc4469be61127a11cc9307f8e6f
2019-10-31 10:28:19 -04:00
13fd59f74c audio(macOS): fix crash when changing audio devices during call
Change-Id: I57dce44e8ef387f470971d8e8cdb995e03ff18b5
gitlab: #170
2019-10-30 17:08:33 -04:00
563a14478b media: fix dynamic bitrate when media is restarting
Change-Id: I28a7ee8867c97251b8ff9a7885b04bc76098d03b
2019-10-30 15:02:45 -04:00
7295f4e378 manager: DRING_ID_MAX_VAL is uint64_t
Change-Id: I95e8d07569e7c24d6f064ca6ab7f8337b351f785
2019-10-28 16:18:16 -04:00
f69dfab9c4 conference: do not resend vcard
Do not resend vCards from client hosting conference.

Change-Id: I7d1c8932a36ab793b1c29bbe49541e89aaf90194
2019-10-22 17:18:14 -04:00
ba8e1cf45a conference macOS: use previously selected format
Change-Id: If84669cd16bd912ed0db92c50252159db43b95a3
2019-10-21 15:58:45 -04:00
ec56378d19 server_account_manager: update to opendht api
Change-Id: I08ffedc34ff3d7a669e6046b95d6c5a373f214ed
2019-10-15 14:07:52 -04:00
6b392ef15e manager: cleanup
Change-Id: I8584a37a7ff734425a1fec65cca0ceb5929d75d1
2019-10-11 13:06:54 -04:00
df37931e1b jamiaccount: use new OpenDHT API
Change-Id: I83aec85aaf28f2fa58eadce75c0e53e8771cfe25
2019-10-11 13:06:54 -04:00
923ca92dd4 jamiaccount: use managerUsername as initial registered name
Change-Id: I8092ac23bc9b3c18eca49d3659bcb7655af2bc9e
2019-10-11 13:06:54 -04:00
f02912568a tlsvalidator: update tls docs link
Change-Id: I41949a33851dd6fd771765170a87008baf931971
2019-10-11 10:57:02 -04:00