- 25 Jul, 2019 1 commit
-
-
Adrien Béraud authored
* avoid using IDs above 2^63 for Java binding compatibility (no unsigned integers in Java) * avoid using IDs above 2^53 for JavaScript binding compatibility (no proper integers in JS) Change-Id: I57bb26d2464edbdca4c9e6fe858894d3b53519dd
-
- 11 Jun, 2019 1 commit
-
-
Ming Rui Zhang authored
Change-Id: Ifcf2c2b3676a1903f16818e889dac6ca85a5aa0a Reviewed-by:
Sébastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 23 Apr, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: I0748107047a5c06cc9fb555ebd17c799475124eb
-
- 17 Apr, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: I67e03e6711a46e6d241ee249bfa480ac76abfa93
-
- 02 Apr, 2019 2 commits
-
-
Adrien Béraud authored
* rename namespace from ring to jami * rename logs methods from RING_* to JAMI_* * rename RING_VIDEO to ENABLE_VIDEO Change-Id: Ic98498652d7059fafe58a96220d565bcdfa53658
-
Adrien Béraud authored
Change-Id: Id99a8d8a3af3ef59d52a3267e0f44262c6df17f3
-
- 29 Mar, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: I273f3e53c6d702ebe87bb0feeafb39f590eee516 Reviewed-by:
Sébastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 13 Mar, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: I16c3c467ee1b1b583f1dc74e2294b7c069331f73
-
- 24 Jan, 2019 1 commit
-
-
Philippe Gorley authored
Declutters Manager a tiny bit. Change-Id: I322685b865f71e96f85bb00117486053cf483d08 Reviewed-by:
Sébastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 04 Jan, 2019 1 commit
-
-
Philippe Gorley authored
Removes refrences to project name in logs and comments where it doesn't matter whether or not the name is specified. Change-Id: I17f99390226929ee620bc479b203825389bb3d4d
-
- 02 Jan, 2019 1 commit
-
-
Sébastien Blin authored
Change-Id: Ia4ed75d04a284efa0763c917aeaa2f08863a87cb
-
- 13 Sep, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: I50fc907a43701d75dfdb8575a5b1dfd62beac7b4
-
- 04 Sep, 2018 1 commit
-
-
Hugo Lefeuvre authored
Currently there is no timeout for received calls. If a peer is connected but doesn't answer a call, then this call will stay in RINGING state 'forever' until the calling user manually aborts it or peer becomes unreachable. This patch implements a timeout system: When a call starts ringing a job is scheduled in a fixed amount of time (corresponding to a new user preference, by default 30s) to check whether the call is still ringing or not. If the call is still ringing after timeout, hangup() is called with 486 (BUSY) state and ringing stops. Change-Id: I49218f5d4bdef8e4a8cee35fa6dde80f572b46c6 Gitlab: #42
-
- 30 Aug, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: Ieb3f0d78051a6c36b2046f764feccecef8a39732 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 23 Aug, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: I64cf380a0afd9f60e19ce21a1f184bbe932fba07 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 17 Aug, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: I6ad737887943bb49d61d38a38c0fb7534fb6c564 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 30 Jul, 2018 1 commit
-
-
Philippe Gorley authored
Makes both ringtone and dtmf tones shared pointers instead of raw pointers to avoid race conditions and use-after-free's. Change-Id: Ib8dc12c17905ca9bf0bc9dc01667b3194be70927
-
- 26 Jul, 2018 1 commit
-
-
Hugo Lefeuvre authored
Change-Id: Ifbc5f3792a7019dcfa8249eb30afe2a64cbeb57c Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 22 Jun, 2018 1 commit
-
-
Sébastien Blin authored
If a user pass an accountId to choose, the daemon must not call with another account, If the account is not usable, just stop with a message. Change-Id: Ifa73c2832144f2cae3cf101aaea027c2d97200f2
-
- 13 Jun, 2018 1 commit
-
-
Philippe Gorley authored
Change-Id: Ifc84b3f16a57e4d1aa23ef5453d5c2065fb27784
-
- 06 Jun, 2018 1 commit
-
-
Sébastien Blin authored
Because a client can receives messages before a client is ready to receive it and because the daemon does not store any message, we should have, like calls or file transfers, have a method to get these messages. So, this patch introduces a new method which gives the ability to retrieve messages since the daemon has been launched. To do that, when the daemon will receives a new message, it will store this message into a queue (limited to 1000 messages) and save the related timestamp. When the client is ready it can call getLastMessages with its last known timestamp. This method will return all messages received after this timestamp. Note: the perfect way to do that is to store messages directly in the daemon not clients. We also need some synchronization processes. Change-Id: Iceb1654088a843f9be5b4a47bcc23201e9b38c01
-
- 23 Jan, 2018 1 commit
-
-
Guillaume Roguez authored
Change-Id: I1ef88bc640f79790aad2b5285ea2c776aa8cd366
-
- 05 Jan, 2018 1 commit
-
-
Guillaume Roguez authored
First implementation of Reliable Data Transfer feature in Ring. This implementation is a draft, comes with a Python script tools/dringctrl/sendfile.py to play with and doesn't implement all the API as described into "datatransfer: API proposal" commit. This version uses TLS over TCP-TURN sockets to encrypt data. Transfers require a TURN server with TCP peer connections as described by the RFC-6062. Testing: Currently only sendFile API is implemented and data are saved into a temporary file saved in "/tmp/ring_XXXXXX", where XXXXXX are replace by mkstemp() command. Change-Id: I5b8f48432edd58df5046e368a99f58ea44046dcd Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
- 06 Dec, 2017 1 commit
-
-
Sébastien Blin authored
Change-Id: I75106210a5db977d57cc2e3921e28e8bf30e9af7
-
- 04 Dec, 2017 1 commit
-
-
Nicolas Jager authored
Add a new placeCall API with possibility to gives call details. This permits to give information like media preferences before to start the call. This changes force a daemon API bump to 4.1.0 Change-Id: I95d3b5480e194ece4a3cdb03436b2e1625eae016 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 22 Nov, 2017 1 commit
-
-
Guillaume Roguez authored
* remove "const" to addTask parameter (move-semantic) * remove manager.h included twice * include logger.h after manager.h Change-Id: If546dacbe52aaad05d13c576695676edc7d06b24 Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
- 08 Jun, 2017 1 commit
-
-
Philippe Gorley authored
Adds a function in the dring API to query and set use of hardware acceleration. This will let clients set via GUI instead of only through dring.yml Change-Id: I94ec612398d89b960fa091c9aebabbbc5ad4acbd
-
- 04 May, 2017 1 commit
-
-
Guillaume Roguez authored
Internal subcalls don't have to be exposed to clients. This patch prevents to be listed by getCallList() API. Change-Id: If8f72670767f0a19ccc45255c9a44eabd534a7bf Tuleap: #1526
-
- 31 Mar, 2017 1 commit
-
-
Guillaume Roguez authored
Just moving all ICE transport related methods from Call class into the SIPCall call. This is done in the mind of refactoring media transport system. Call is agnostic to transport implementation and this stuff has to be handled by concrete classes of Call that known all about transport information. Note: <algorithm> included in audiolayer.cpp to make this patch buildable on UWP platform. Change-Id: I04b780dcff3483237a2de3c47ee667df9bba9f97 Reviewed-by:
Olivier SOLDANO <olivier.soldano@savoirfairelinux.com>
-
- 21 Feb, 2017 3 commits
-
-
Guillaume Roguez authored
Decrease the manager.h file dependency map by removing uneeded inclusion and small code refactoring to nicely decoupling classes. Change-Id: Ibde69e0a088e7e2fbd842e39301db5b3a4bc8c28 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Guillaume Roguez authored
This patch uses a pimpl idiom to decouple Manager class interface (public API) from its implementation (private members). A back-pointer is also used by private implementation. It's a first step to reduce the complexity and dependency of this fat class. But this patch tries to keep the task atomic. No behavioral changes! But the public API has been slightly modified to arrange the pimpl code. Change-Id: I01f15bab693397bc4c5a0f73393906110008488f Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Guillaume Roguez authored
This patch removes all non-used or non-implemented members of the Manager class. This class is "fat" enough to get care. Change-Id: I03d85385c4e3d822a3d3cb89050d77ec02e31443 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 17 Feb, 2017 1 commit
-
-
Guillaume Roguez authored
move the code dedicated to local participant (i.e. callId = DEFAULT_ID), into the dedicated method detachLocalParticipant. This decreases the cyclomatic complexity and make a more clear distinction on both methods usage. Change-Id: I5f76f60a8e8b776b8c16ad1f438a0f77e42fc0fb Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 15 Feb, 2017 2 commits
-
-
Guillaume Roguez authored
Manager::newOutgoingCall() does not handle case where a valid account is found (no prefered given) but not usable, and many accounts are possible. They are not tested. This patch fixes this situation and also reduce cyclomatic complexity by factoring the account search loop. Change-Id: I505d082f4ca5d7756fe1f257e1767696dc41a2bf
-
Guillaume Roguez authored
- decrease cyclomatic complexity of joinParticipant by factoring conference binding code and removing unneeded createConference method. - move the ConferenceCreated signal at the right place in the flow (i.e. last in sequence). Based on a proposition from zinspierre <zins.pierre@gmail.com> and al. in part of the course LOG8430 (Polytechnique Montreal). Thanks to them. Change-Id: I55203cc400496cd679c4f157d765aee0dec9c4f8 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 11 Jan, 2017 1 commit
-
-
Guillaume Roguez authored
Many function/method pass shared_ptr by copy and not by (const) reference. As explained here [1], if the smast pointer is not supposed to be modified and used as an output argument, it's a bad usage as we cause an uneeded copy. As this copy causes a memory lock this lead to CPU and memory cache lock bad usage. This patch converts all these by-value into by-const-reference on all shared_ptr arguments over the daemon sources. [1] https://herbsutter.com/2013/06/05/gotw-91-solution-smart-pointer-parameters/ Change-Id: Ic1e68d93a6917f5e2865b6818b7c1210ff98b1a8
-
- 05 Jan, 2017 1 commit
-
-
Guillaume Roguez authored
Change-Id: I6dbc51dd41c1f44d1446fe7365026af037bc86d9 Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-
- 22 Nov, 2016 1 commit
-
-
Philippe Gorley authored
Correctly wraps video preferences and hardware acceleration in ifdef preprocessor statements (RING_VIDEO and RING_ACCEL, respectively). This fixes cases where Ring would not compile without video or video acceleration. Video acceleration is now dependant on the presence of video (--disable-video disables acceleration). Change-Id: I087cc1dc794d0f19daa68cdaec09e126542147f9
-
- 01 Nov, 2016 1 commit
-
-
Philippe Gorley authored
Hardware acceleration is now correctly enabled/disabled using Ring's config file. The setting was moved from DeviceParams/VideoSettings, which are used for local video, to preferences under video. The video preferences object calls serialize() on the video device preferences, so as to not overwrite one another (they're under the same section in the config file). Change-Id: I8c11ea8813dee5cc514a4fa4c1bae962a14577eb Tuleap: #1122
-
- 26 Oct, 2016 1 commit
-
-
Guillaume Roguez authored
This patch adds the support of DHTLOGLEVEL environment variable to let the user choose OpenDHT log level when the deamon instance is created. Following level are available: - 0 : disable all logs - 1 : only errors - 2 : level 1 + warnings - 3 : level 2 + debugs Change-Id: Ib55bdabdea2e3ac72c86fa78260a5e3d16b52179 Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-