- Jan 15, 2018
-
-
Philippe Gorley authored
Falling back from hardware to software decoding requires only a reinitialization of the AVCodecContext. Hardware decoding failure is no longer bubbled up to the RTP session, which makes it much faster. Change-Id: I79fdfcfa41f822b3299d74ac654146789fcfd97b
-
- Jan 12, 2018
-
-
Andreas Traczyk authored
- adds a slightly altered version of the android video implementation, as a swift AVFoundation implementation will be used in the ios client to enumerate the video input devices. Change-Id: I7c16fc39c5d22e54fb146881150b6cbcfddb7806
-
Replaces empty methods and std::bind calls with lambdas. Change-Id: I0d9c876a9ba0bbdc6a77a85e0e2d75766312f952
-
- Jan 11, 2018
-
-
Maxim Cournoyer authored
Change-Id: I5f92b0477817ed085b4a6073880d7872d53b460e Reviewed-by:
Nicolas Jäger <nicolas.jager@savoirfairelinux.com>
-
Guillaume Roguez authored
* modifying the API name of bytes progression * add bytes progression reporting for incoming file transfer * D-Bus binding adapted Change-Id: Ife397ce7d13f248ed1df4338e62361ddbc9e2027 Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
- Jan 10, 2018
-
-
Guillaume Roguez authored
File total byte size information was missing for incoming transfer. Change-Id: I4aadc0d6ae2baced02a93c208d7476cf71609945 Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
Guillaume Roguez authored
"override" keyword missing for a method in TlsSession class declaration. Change-Id: Ie8e98da6bd9a20246464593460b058200ee1c08b Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
Guillaume Roguez authored
Expose more data transfer API to D-Bus binding: * acceptFileTransfer * cancelDataTransfer Change-Id: Ida42caf775d1a411ac640276140ac6d69b6eebc7 Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
Guillaume Roguez authored
fix crash occuring during data transfer destruction due to nullptr access when the turn transport is destroyed. list of changes: * fix Turn/PJSIP callbacks registration (was a NPA due to unique_ptr dtor implementation) * add a shutdown method to GenericSocket. * implement shutdown into TlsSession and TurnTransport. * use shutdown to unlock PeerConnection blocked into a read. * do not call blocking methods that raises CtrlMsg into the eventloop. * destroy clients/servers before turn socket . * fix Turn pool cache destruction causing bad mem free. Change-Id: I9995ce9419e8af965def9328a5de4a8973a4334f Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
- Jan 09, 2018
-
-
Guillaume Roguez authored
io error in endpoint write operation was not handled. Add this by this patch and fixes write issues (ex, when peer disconnect). Change-Id: I24dada649f4d9f9627d2d2ff8efcea2b2d44b4ad Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
Guillaume Roguez authored
Add API to obtain the list of known datatransfer. libring and DBus API included. Change-Id: I4e1a46c132f99bd36b4a531035dbc83261061093 Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
* CODING: Update wiki URLs and refresh content. * ChangeLog: Fix typo. * README: Likewise, and use HTTPS for URLs. * doc/README: Rephrase. * man/README.manpages: Fix typo. Change-Id: I9d320ae2e5bdfacc84293001f08abb442da35fb5 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
Guillaume Roguez authored
Add ConfigurationManager::dataTransferBytesSent() DBus method access. Change-Id: I74fc22f42faeb5c352059831150b6c8b7e813fd8 Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
- Jan 08, 2018
-
-
Guillaume Roguez authored
Mutex deadlock occuring during file transfer creation. Exchanging some calls to fix the situation. Change-Id: I2f0108e63e89a13e3f6f2c1b1e096fbf9a6a1290 Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
Anthony Léonard authored
static constexpr in class/struct need to be redeclared in namespace scope until C++17 (at which point it will be deprecated). Change-Id: I27f0448edd65f9d7d51ad5eb7263c76d17563072 Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
- Jan 05, 2018
-
-
Guillaume Roguez authored
add annotation type to fix Qt usage for the custom-type added by the DBus dataTransferInfo method. Change-Id: I62b8d13171d25c73850c6120a1e5fec8fda07e72 Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
Guillaume Roguez authored
Doxygen keywords must be backslashed, not slashed. Change-Id: I625e1241981c46da2d5a17da4daf4b9a571f3a35 Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
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>
-
- Jan 03, 2018
-
-
Guillaume Roguez authored
Or at least independant of underlaying transport... To make TlsSession able to handle both TLS and DTLS this patch removes the ICE dependency and replace is by the generic network ABC class 'GenericTransport'. As a first step this class is declared in tls_session.h. Side effects of this change are: * refactoring of PMTUD procedure: 'MTU' for gnutls has the meaning on 'payload-for-gnutls' so this information is now drived by the generic transport and not hardcoded anymore. The minimal value of probing remains hardcoded, as is a minimum given by RFC's documentation and it's based on an IPv4 packet associated with UDP protocol. * getMtu() is now maxPayload() and represent correctly what the application must have. * TlsSession implements itself GenericTransport: we can chain GenericTransport instances to construct an overlayed transport protocol. * TlsSession is now considered as non thread-safe for its public API. Caller must bring itself this property. This permit to remove a redundant mutex in send() operation. Note: and it's the case in the only user (SipsIceTransport), that why the mutex is redundant in 100% of cases. Notice the benefit of this genericity refactoring let us write a unit-test for this TlsSession class without having an heavy ICE transport to mock-up. Also ICE transport gained of this by adding a new IceSocketTransport to replace IceSocket in a near future (need async IO in GenericSocket, but not required for the moment). Change-Id: I6f4591ed6c76fa9cb5519c6e9296f8fc3a6798aa Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
Alexandre Lision authored
Move all JNI file sources to the daemon. Ring Android client will use this files to generate the final libring.so including the ring_wrapper.cpp Change-Id: I4e800bb1d33b5905c715054d1718c0bdb3fc1d55 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- Jan 02, 2018
-
-
Guillaume Roguez authored
fix for patch: 0f524801 PJSIP support to std::error_code and std::system_error pj_strerror crashes on due to wrong given string size. Change-Id: I8d68b885ce0d587b27e8b361c9ad60019ed355fb
-
Guillaume Roguez authored
Some practical C++ additions: * class PjsipErrorCategory as error category for std::error_code. * class PjsipFailure inheriting from std::system_error exception. Change-Id: I957cd36d06cf49ae98cb6634f5e4d5dcac666be8
-
- Dec 31, 2017
-
-
Philippe Gorley authored
Debian Testing doesn't use the contribs, so bump down the FFmpeg requirements in the configure.ac as well as making RING_ACCEL dependant on a certain version of libavutil. Reviewed-by:
Alexandre Viau <alexandre.viau@savoirfairelinux.com> Change-Id: I1f9d0de44e5f9d0bbb69b20d73a396de7e5d64b4
-
- Dec 28, 2017
-
-
fix nullptr access during incoming call on ringaccount due to a missplaced method call. Change-Id: Ia226d9d8e53ae8143b42d9b08814b5448c8be95d Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Philippe Gorley authored
libavutil now covers the simple cases for creating and managing devices. As Ring does not need to fine-tune these processes, most of the accel code can be and has been removed. Most hardware decoders output NV12, so skip extra conversions by outputting NV12. Said pixel format is supported by everything that isn't excessively old. Change-Id: I10c440026fc3b289dbba7ecbca47e55c57147207 Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
- Dec 21, 2017
-
-
Bumps FFmpeg to match the other platforms. Modifies the acceleration code to work under the new API. Enables bitstream filters, as some of libavcodec's components, such as VideoToolbox, use them. Change-Id: I3a6cee2cf06881bba4602c0ed635ff45908e7b85 Reviewed-by:
Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
-
- Dec 20, 2017
-
-
When IP2IP account is created only AccountsChanged signal is emited. But doRegister() method is called and this kind of account must succeed on such (as there is no registration) and must call setRegistrationState(RegistrationState::REGISTERED) to make aware the client on this event. This was not done. This patch adds this call. Change-Id: Ic5b8a31d9e2b98dd96ed394247f77bbfa3d8cdde Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- Dec 19, 2017
-
-
Let's say we're building gnutls (since the system version is too new). gnutls depends on nettle. Let's say we're using the system nettle (naturally in FOUND_PKGS). nettle depends on gmp. With the old (non-recursive) dependency tracking, we would end up building gmp just for nettle, even though we aren't even building nettle! Change-Id: I24e6f59416839ea202e0aceafe101432fe9c2646 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- Dec 18, 2017
-
-
fix commit 8a708851 inverted comparaison. Change-Id: Id7ed10fdd50b82537acc317fb17e0a7e8aebc293 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Guillaume Roguez authored
Account::getAccountType() returns a raw pointer on char, but we use it with simple operators like == or != to check the semantic behind. This results to pointer comparaison and not "string" comparaison, causing many bugs. Fixed by changing the comparaison operators by "strcmp" function. Change-Id: I74baba083af0159d445c1505ddd5df55e6ca4fa7 Tuleap: #1575 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
make dev life easier during debugging steps. Change-Id: I762763436b4aa0800da6d926230c011649a44e88 Tuleap: #1575 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- Dec 13, 2017
-
-
Adrien Béraud authored
Audio encoding is usually mono-threaded and doesn't require as much CPU as video encoding. Limit to 4 threads since more would not be useful and might introduce latency and decrease performance. Video encoding takes significantly more resources, however for live encoding, using more than 16 threads might introduce unreasonable latency. Since new customer CPUs (AMD Ryzen and Intel Core i7/i9) now have more than 16 logical cores, setting a higher bound of 16 threads. Change-Id: I5dc2d3f51019c563b8cec3fbddffa13cbafdb9a5
-
- Dec 12, 2017
-
-
make public Call::setEarlyDetails and change its name for Call::updateDetails(). This permits to change details at creation AND after as in the case of RingAccount where we don't have details when the call is created. Change-Id: I145624f93358990ed36d027bdb47bd4e498b1770 Signed-off-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- Dec 08, 2017
-
-
Andreas Traczyk authored
- Adds CFLAGS to make command for secp256k1 build when building for iPhoneOS(arm64) as the configure script ignores the SDK parameter Change-Id: Id57933d8776e7c348a0c37bae508fe61161e4151
-
- Dec 07, 2017
-
-
- Updates the vs2015 project files - Adds ciso646 header to diffie-hellman.cpp for logical operator compatibility with the Microsoft compiler Change-Id: Ie858e054bf26cf839bef6eace79fa546894a7963 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- Dec 06, 2017
-
-
<thread> std include was missing to build on ios. Change-Id: I8da9dd25e41d67ca3fa7343e487e2b0a94d93843 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Change-Id: I75106210a5db977d57cc2e3921e28e8bf30e9af7
-
Guillaume Roguez authored
Use latest jsoncpp API to remove deprecation warning. Change-Id: Id599e1e30cf201f4027ee10fa4229f14b93264e6 Reviewed-by:
Sébastien Blin <sebastien.blin@savoirfairelinux.com>
-
- Dec 05, 2017
-
-
Guillaume Roguez authored
Continue the compilation firewall work. Also update code to use C++14 features. Rationale: prepare the change to a new transport abstraction over the project. Change-Id: I4d387bea8447f5dc251a6bd64ecb63b234bd1cdf Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-
Guillaume Roguez authored
Remove high dependencies on OpenDHT includes inside Ring internal header files. This reduces compile time by not recompiling the whole project for any changes into opendht. Change-Id: Iba852e0b889e67ee12b3a9747e6d04de23572c2e Reviewed-by:
Olivier Soldano <olivier.soldano@savoirfairelinux.com>
-