- 12 Dec, 2016 1 commit
-
-
- adds wlogger which takes a the filename of the file calling the logger as a parameter, then strips the path - changes colors so that when debugging the daemon as a win32 application, the console text is brighter and easier to see Change-Id: I62bec1af71f9aae0ff259c7b1ac0d9a7462a9de5 Tuleap: #790
-
- 09 Dec, 2016 3 commits
-
-
atraczyk authored
- adds a Visual Studio 2015 solution, project, and filters - adds a .gitignore for Visual Studio generated files Change-Id: I30257ef98f315dc1fa870873669d369b8ab8bda5 Tuleap: #790
-
atraczyk authored
Saves the previous mute state in AudioRtpSession and AudioSender, so that when the audio encoder is re-instantiated, it can be set to a previously set state (if any). Change-Id: I25809499fd5afca1b6ae0f03c685a10ba95f94ac Tuleap: #1298
-
Adrien Béraud authored
std::shared_future can't be used for non-copyable types, and std::future can't be captured in std::function context because it's also non-copyable. A solution is to used a shared_ptr of future, that can be copied around and the future result can be moved out. Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: I58a96dbeace446776b40fec2a10818a544f0b833
-
- 08 Dec, 2016 1 commit
-
-
Philippe Gorley authored
Fixes an issue where falling back to software decoding fails if quality is not set to auto (no video). Change-Id: I502558f82cbabdf90990cd9177a36674fb3df4d1 Tuleap: #1088
-
- 06 Dec, 2016 5 commits
-
-
This reverts commit 60222051. Causes issues with peer verification Change-Id: Ib7d7d46b1a42ed952ec887b11f9e19b626274bd0
-
Guillaume Roguez authored
A DTLS type is needed for our DHT account. This type of transport is based on UDP + TLS. This kind of transport behaviour don't exist on current PJSIP v2.5.5 release. This patch adds this transport type, both for IPv4 and IPv6. Our PJSIP bridge class is modifier to support this new type for DHT account. Change-Id: I247fcb7c89fe23c99c580705c5f4a1d172b9c917 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Adrien Béraud authored
Previous implementation was duplicating authorization checks between incoming call and message. Add two methods to factorize the checks: * foundPeerDevice will check the validity of the peer certificate chain * onPeerMessage will check the validity of the peer certificate chain, perform authorization checks using the account trust store (async), and call the provided callback if the peer is authorized. Change-Id: I237d3ccae4c6adba232564a05106ff77dc9cd9d8
-
Guillaume Roguez authored
Using properly SF URL to download packages on this platform. Boost and uuid was impacted by this. Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: I613f39c59c2bef22572cba57977c01e045a1e2d6
-
Romain Bertozzi authored
This patch adds the ability to use an environment variable as the MIN_IOS_VERSION. It still allows to build the daemon in standalone with the variable set in the main.mak file of the contribs. Change-Id: I107353e3f1bbc00ccd54c671dc73a3d6b7ad1d6c Reviewed-by:
Alexandre Lision <alexandre.lision@savoirfairelinux.com>
-
- 05 Dec, 2016 1 commit
-
-
Guillaume Roguez authored
The dht listen operation is implemented as a lambda and was using a default capture by copy ('='). But due to missing brackets and the variable name reuse, a share_ptr refcount is overtaken. This patch fixes the brackets problem and replace the default lambda capture by naming each used variable to not have the issue later. Change-Id: I613065f0b1224677704d337bf29b6c5355bacedf
-
- 03 Dec, 2016 1 commit
-
-
Moves the frame reference switch to the extractData wrapper function to clarify that the output frame received in the callback is indeed an output and not a temporary frame. Change-Id: Ic21a3a7517647d263621b23debe1a4fb7f810a8e Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 02 Dec, 2016 2 commits
-
-
Guillaume Roguez authored
Fix usage of M_PI constant: it's not C++, even C, standard constant. Replaced by a direct value in the code. This also can fix C++14 compatibility on some platforms. Change-Id: I1b37c5cd4aabc9af2adccf208cc8a793de54a79c
-
Guillaume Roguez authored
SipsIceTransport doesn't set internal PJSIP transport correctly causing many troubles in how our ICE/DTLS underlaying transport works with PJSIP. This patch: * adds a custom dtls PJSIP transport type * implement correctly custom PJSIP transport creation * revert unneeded patches about IM fixes (da0a2d17 and 0cf16b30) as this patch fixes also the 30s issue Side-effect: this fixes the 'call failed' effect when peer hangs-up Change-Id: If88b8245d6c9ff76bc2f2456f06ff65bc5e723b1
-
- 01 Dec, 2016 4 commits
-
-
RingAccount::incomingCall() is no more blocking and also pushes part of its task on an async job. So calling this method using 'runOnMainThread' function is overkill, add code complexity and useless delay. This patch removes the call to runOnMainThread and use incomingCall() directly. Change-Id: I39bcc03edc8a2cd672cfda6be8fee310963d64f0
-
Guillaume Roguez authored
RingAccount::newOutgoingCall() run inconditionaly a call when NameDirectory::lookupUri() has made the lookup, even if the response is a failure code. This patch prevents the call to be started (and fail later... for nothing) in case of negative response of NameDirectory::lookupUri(). In that case, Call::onFailure(EINVAL) is called to close the object and warns upper layers. Change-Id: I5236b9221edc353e4a8106778e8b0ba9c5e96e67
-
Guillaume Roguez authored
Unknown pragma is not a big issue for us. That's only happen in alien code. But gives ton of noisy warnings for nothing. Desactivated Change-Id: I87dedfd54c3090c796855654fe53768c1ecec105 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Guillaume Roguez authored
Fix private RingAccount::startOutgoingCall() prototype to be able to remove an uneeded lambda 'mutable' in the code. Change-Id: I9c6366c6e5d588588ad3678bd2782d56b2a9db61
-
- 30 Nov, 2016 8 commits
-
-
Philippe Gorley authored
Adds a method to check if a hardware acceleration is usable on the system before starting the video feed, as the fallback to software decoding can take a few seconds. Change-Id: I74506943b5c8d43808a1fe4ba28a8c7b6353f6aa
-
Romain Bertozzi authored
This patch adds a git patch file to build boost for iOS. It will only be triggered for the iOS target. The original file comes from https://github.com/danoli3/ofxiOSBoost and is under Boost Software License. It has been modified to match our needs. For now, the two generated static libraries (random and system) are configured for iPhoneOS and iPhoneSimulator. An enhancement would be to keep the architectures separated and pick only the selected ones at deamon compile time. However, the impact is here limited since the libraries do not weight much with one or two platforms. Tuleap: #1326 Change-Id: I502e7343eb8a74cb6633582022fe0a33994aeb3d
-
Guillaume Roguez authored
Private structure must not be defined into the class definition file (usually the .h file). Replaced by forward declaration only. Code adapted for that (an inlined method has been un-inlined). Change-Id: If6fb375629c3c19494b177bc75ab6183e591e22e
-
Guillaume Roguez authored
Solving all 'unused' type of warnings seen in ringaccount.cpp file. Too much noise that hides real potential problems. Change-Id: I1dfe34e963a08206101bd8ac72abb9b8162a01de Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-
Philippe Gorley authored
Refactors the hardware acceleration mechanism by making AVCodecContext a class member in HardwareAccel, wrapping extractData in a base method to avoid duplicating boilerplate code, making the AccelID enum and AccelInfo struct visible only to the makeHardwareAccel function and adds more flexibility in the compilation of Ring's hardware acceleration. Change-Id: Ibfb4324e2f84b4d08bb5dd1e4b22873255aeb196
-
Guillaume Roguez authored
The patch multiple_listeners was not correctly changed when we migrated to PJPROJECT 2.5.5. This patch moves changes at the right places in the code. This also fixes a bug with a SIP call is placed if TLS is set. Change-Id: I88389e9421bbe2e16be0ef2807fef741717e819d Tuleap: #1351
-
Guillaume Roguez authored
Fix RingAccount class members initialization order warning issued during build. Change-Id: I840365e70a406c4ceffde95af237bc56ed55d5b5 Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-
* fix a minor bug since the last release. * install to GNU standard path (prefix/lib/arch) Change-Id: Iee75b3b10c9bfb24f2ff4aedcf835fc733fa0971
-
- 29 Nov, 2016 5 commits
-
-
Adrien Béraud authored
Factor iterating over peer devices Change-Id: Ia7635a8cad1b73c9a1ebbd6608e15c24d82b68fb
-
Adrien Béraud authored
Automatically sync device names between devices. Change-Id: Ie3c53d11ee0fba7a4bcddde8a45254654c3d4a44
-
Adrien Béraud authored
Add a new editable account detail: the ring device name. Change-Id: Id5dc42f276ad761d8b306a10faf97e4fbd58c9a2
-
Guillaume Roguez authored
Change the SIPCall::sendSipInfo method to not use a transaction but direct endpoint send method. This fixes the dialog termination in case of packet drop. Change-Id: I56f2590ba4b00ac5783ec656b8c442dbcee92c75 Tuleap: #1077 Tuleap: #1297
-
Guillaume Roguez authored
This patch is an re-implementation of instant messaging system for the SIP layers, to use endpoint's request than dialog's request. This fix an issue where a packet drop during the request processing causes the dialog to be shutdown with error code 408 afer 30 seconds. This leds to shutdown of the whole attached invite session, so the call itself it terminated. Change-Id: I948c3eb1d6df992ed8364a01806cd92a42cf98a5 Tuleap: #1077 Tuleap: #1297
-
- 28 Nov, 2016 3 commits
-
-
This patch fix the problem where a thread is waiting alone on a condition variable when quitting Ring on Windows without any other thread to notify it. This is due to the way each compiler handle the destruction of static objects as it is left, on some points, undefined by the C++ standard. This is solved by joining threads earlier when the deamon is closing all its stuff. Change-Id: I219250be1fa08284ca0e92d68344c3cf69ad6af3 Tuleap: #1276
-
Romain Bertozzi authored
This patch chooses the correct version of libvpx for each specific platform. There is the v1.6.0 version for Android, the v1.5.0 for iOS and v1.4.0 for all the other platforms. The SHA1 of the versions have been replaced by their tags for the sake of readability. Furthermore, we now check the SHA512SUM of the downloaded tarball before using it. Finally, this patch is usefull to make the iOS project compile. Change-Id: I05081bb5b6750eaff62cea5b512ea227de541f9d Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
This patch modifies the way we check the SHA512SUM of contrib tarballs. The main goal is to be able to check one specific tarball of a specific version of the contrib against a list of valid SHA512SUMS. Before that, this was not possible. For instance. Let's say that we must download one version of a contrib for a specific platform, and another one for all the others. It was not possible to write several SHA512SUM in the SHA512SUMS file of the contrib. Indeed, the check that was performed did not find the tarballs that were not downloaded, and so it returned a warning and a failure code. Furthermore, the grep that was performed was ignored in the check instruction. With this patch, we use the grep command that was unused before to find the line corresponding to the tarball in the list. Change-Id: I5d609ecfa1991164ca5da6db196c0a7274f533ed Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 25 Nov, 2016 1 commit
-
-
Guillaume Roguez authored
Download retry count for wget or curl is increased to 4. This fits better to the real-world. Change-Id: Id6875c359b6dcb1f3a6442c05318fcb62fe09419
-
- 22 Nov, 2016 2 commits
-
-
Philippe Gorley authored
Fixes a problem where ffmpeg.pc didn't exist. The libav* versions in this patch match the versions packaged with ffmpeg 3.1.3 Change-Id: I5df42aebddf0d62e3febcc81ea0e2278daa6a7dd Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
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
-
- 13 Nov, 2016 2 commits
-
-
Adrien Béraud authored
* check certificate chain of found account devices * log cleanup Change-Id: I761184966221f51ebe5d14b2ef63b7126b3fe35b
-
Adrien Béraud authored
The default name server is now defined at account creation instead of at account serialization so the default name server hostname is visible to the client during the first session. Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: Ib6695edae9cf8716581d10194af702dfc3ab4650
-
- 11 Nov, 2016 1 commit
-
-
Guillaume Roguez authored
Increase PJSIP_MAX_PKT_LEN to 8000 bytes. This permits big SIP invite message with many ICE candidates. Change-Id: I02097f54a2b01087dfdad4474eedbed2a67b0955
-