1. 23 Sep, 2016 3 commits
    • Adrien Béraud's avatar
      contrib: add boost, cryptopp · 6f57f002
      Adrien Béraud authored
      Change-Id: Ia972ca8b3ae99f382ca7d7433071e4c3dd07a6ee
      Tuleap: #682
    • Philippe Gorley's avatar
      video: hardware acceleration · 921146f5
      Philippe Gorley authored
      Contains code common to all hardware accelerations to be implemented.
      Enables the VAAPI acceleration for intel linux systems, with support
      for H.264, H.263 and MPEG4.
      To use VAAPI, you need libva, libva-x11 and libva-drm.
      Hardware acceleration is enabled by default, and can be disabled with
      "./configure --disable-accel".
      Change-Id: Id0696465b785de0735bbce9750932ac38efe0713
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
    • Guillaume Roguez's avatar
      audio: modern C++ refactoring in tone/audioloop · adf9c5c4
      Guillaume Roguez authored
      This patch refactors some audio classes and its implementation
      in respect of daemon coding rules and modernize its
      implementation by using modern C++ facilities.
      Change-Id: Ia45e33bfe43b2a60997ece7c2810054405210e26
  2. 22 Sep, 2016 1 commit
    • Adrien Béraud's avatar
      add thread pool · 69fa3511
      Adrien Béraud authored
      A simple thread pool.
      It will start a new thread if all current threads
      are busy, up to the number of cores on the host.
      Keeps pending tasks on a queue.
      Adapts few uses in the daemon.
      Change-Id: Ia94a64bcdd4d8d8b16cf84e5a735c5246b08c13d
  3. 21 Sep, 2016 1 commit
    • Anthony Léonard's avatar
      audio: TelephoneTone isn't recreated entirely anymore · b6771a0c
      Anthony Léonard authored
      A new instance of TelephoneTone was created every time the
      sample rate was changed. Consequently, the selected tone
      was lost each time it happened and the ALSA backend was
      trying to read an empty buffer in an infinite loop when the
      contact wasn't answering the call.
      The precise changes are :
       * A setSampleRate was added as a method in tonelist[.cpp|.h]
       * A buildTones method was also created to prevent code
       * setSampleRate is used instead of recreating the object in
      Change-Id: I44a86345953068848d0304516d502de5c37bb113
      Tuleap: #168Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
  4. 17 Sep, 2016 1 commit
  5. 16 Sep, 2016 2 commits
  6. 15 Sep, 2016 1 commit
  7. 12 Sep, 2016 2 commits
  8. 09 Sep, 2016 1 commit
    • aviau's avatar
      contrib - restbed: specify ASIO commit · 12996f11
      aviau authored
      This modifies the restbed contrib rules to use a specific version of
      asio in order to make the build reproductible and more stable.
      Change-Id: Ieb620da14894b8574fe57d775d13c446c792a27b
      Tuleap: #1017
  9. 07 Sep, 2016 2 commits
  10. 06 Sep, 2016 1 commit
    • Guillaume Roguez's avatar
      sips: fix bad ended call when hangup · b631c8f3
      Guillaume Roguez authored
      When SIPS transport receives a BYE sip method,
      the TLS connection is also closed at mostly the same moment.
      But the handling of the BYE causes PJSIP trying to also send
      an acknowledgement to this BYE. As the send cannot succeed
      as the TLS session is closed and as the send return an error
      in such case, PSIP ends the current INVITE by an error
      and not by a success as it should do to process the BYE.
      This patch fixes this problem by queueing PJSIP msg when
      the TLS session is disconnected.
      Change-Id: I416c1e98a8934bd794a654358c50f58141c76bac
      Tuleap: #998
  11. 31 Aug, 2016 2 commits
  12. 30 Aug, 2016 2 commits
  13. 26 Aug, 2016 2 commits
    • Stepan Salenikovich's avatar
      delete build-system dir · c3f08cb9
      Stepan Salenikovich authored
      The files in this directory are outdated (for sflphone) and no longer
      Change-Id: Ic8aa820c842b31414656c7dae0be433932941bca
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
    • Guillaume Roguez's avatar
      add a restcpp API backend · 09d7b43f
      Guillaume Roguez authored
      This commit offers an alternative to the dbus client to communicate with
      a headless daemon. It uses restbed, a cpp framework for RESTful services.
      This commits wraps up:
      - The source of the restbed implementation (in bin/restcpp)
      - The integration of the target to the configure.ac
      - documentation
      - Add external restbed library to contrib:
        - rules.mak file, to download the version 4.0, and compile it
        - Patch for ASIO, a dependency of restbed
        - Patch for the CMakeLists.txt file, to correct the installation path
      [guillaume.roguez@savoirfairelinux.com: merged with Simon Zeni patch to support restbed into contrib]
      [guillaume.roguez@savoirfairelinux.com: add tuleap ticket number]
      [guillaume.roguez@savoirfairelinux.com: fixed configure.ac --without-restbed behavior]
      Change-Id: Id49a1a04b05aac1e803981833abe5564785fb801
      Tuleap: #498
      Reviewed-by: default avatarAlexandre Lision <alexandre.lision@savoirfairelinux.com>
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
  14. 24 Aug, 2016 2 commits
    • Guillaume Roguez's avatar
      media: fix wrong framerate emulation timing · 15f6d173
      Guillaume Roguez authored
      A regression introduced by commit 88405c00 causes
      framerate emulation not using the correct timing.
      milliseconds was wrongly used in place of microseconds.
      This patch changes this fact.
      Change-Id: I29453582ce4f0a8f34838caea4a2ee9be5592dbe
      Tuleap: #914
    • Guillaume Roguez's avatar
      remove dead code about ZRTP · ed58b69e
      Guillaume Roguez authored
      ZRTP is not longer supported since long now.
      Many code and API are deprecated and public API is stubbed.
      This patch removes all this dead code.
      Change-Id: Id86315ecf461deee7c81b303e19a5d4d9b5c3cc1
      Tuleap: #889
  15. 19 Aug, 2016 3 commits
  16. 18 Aug, 2016 4 commits
  17. 17 Aug, 2016 9 commits
    • Guillaume Roguez's avatar
      configure.ac: remove a non-valid character · e1081be4
      Guillaume Roguez authored
      This patch removes a non-valid character inside HAVE_COREAUDIO.
      This char is difficult to see if you editor is not able
      to show non-valid char.
      But carefully checking configure log show this text without the patch:
      ./configure: line 6831: $'\302\240test': command not found
      You can also see it using Emacs that detects such bad char.
      Change-Id: I1e1e62fb6e03c42ac9d9758bc44db33fad088482
      Tuleap: #909
    • Guillaume Roguez's avatar
      media decoder: missing a break · f6290ea1
      Guillaume Roguez authored
      A break missing into a switch in MediaDecoder::correctPixFmt
      causing invalid handling of AV_PIX_FMT_YUVJ440P input value.
      Change-Id: I216797df58938212e83195dfc9dbfe4d0aba5a8f
      Tuleap: #909
    • Guillaume Roguez's avatar
      ringdht: add missing return statement · d9c847c0
      Guillaume Roguez authored
      Add a return to an error handling of unwaited rx IM msg.
      Coverity CI # 1296815
      Change-Id: Ib4503f639e80f7a24e039043f70f8597b6f141d4
      Tuleap: #909
    • Guillaume Roguez's avatar
      security: fix resource leaks in TlsVAlidator · f0449b12
      Guillaume Roguez authored
      This patch fix two calls to strdup() without any free().
      Change-Id: I8619794e71d4165c154ba6ddd89bf6237e444a67
      Tuleap: #906
    • Guillaume Roguez's avatar
      RingAccount: fix uninitialized class members · 99cd560e
      Guillaume Roguez authored
      Set true as default value to members:
      Coverity CID # 1369576
      Change-Id: I38499608ee35692e96c511f08d261eea8ad9b72b
      Tuleap: #909
    • Guillaume Roguez's avatar
      sip presence: fix uninitialized class member · 1403a9bb
      Guillaume Roguez authored
      Set default value of mutex_nesting_level_ to 0.
      Coverity CID # 1291689
      Change-Id: Ib794fe5a90679669c837e2ad8064998caae01f42
      Tuleap: #909
    • aviau's avatar
      fix check for zlib · a77d6be3
      aviau authored
      AC_CHECK_LIB was not correctly checking for the presence of zlib.
      We use PKG_CHECK_MODULES instead to add -lz to libring_la_LDFLAGS.
      Change-Id: Icfffb898030f886aae8c2c82dc5327f923f0f78e
      Tuleap: #746
      [stepan.salenikovich@savoirfairelinux.com: modified to use PKG_CHECK_MODULES and ZLIB_LIBS variable instead of -lz]
      Signed-off: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
    • Guillaume Roguez's avatar
      TlsValidator: fix uninitialized member · 2f9f6b0d
      Guillaume Roguez authored
      Init default value of caValidationOutput_ member of TlsValidator class.
      This prevents warns from static coverage tests.
      (issue detected by coverity.com analysis)
      Change-Id: Ib9a930bb233208cd99b7003d1a72b6d8003e3e9d
      Tuleap: #909
    • Guillaume Roguez's avatar
      fileutils: fix bad numeric comparison in loadFile · b4923aaa
      Guillaume Roguez authored
      The file size was wrongly checked in loadFile,
      giving a always true comparaison.
      (issue detected by coverity.com analysis)
      Change-Id: I2aa4f5c737df3a3b815caebc97bdc3820df8b534
      Tuleap: #909
  18. 16 Aug, 2016 1 commit