1. 12 Oct, 2016 1 commit
    • Alexandre Lision's avatar
      Revert "video: use ffmpeg on OSX" · 4e4a609d
      Alexandre Lision authored
      - libav is still selected when building the daemon
      - patch 0005-add-avfgrab-device.patch does not compile
      - video does not work with the avfcapture device
      
      This reverts commit 762ce5d1.
      
      Change-Id: Iebe59520877bbcd8fb9e8581341ff77be6d326b0
      4e4a609d
  2. 11 Oct, 2016 1 commit
    • Guillaume Roguez's avatar
      contrib: fix vp8 regression · 4eda26c3
      Guillaume Roguez authored
      Commit ac44cbaa introduces a regression
      in the support of vp8 video codec. The change uses v1.6.0 of libvpx
      for all platforms except OSX. But this version causes a segfault
      into the vp8 codec code.
      
      This patch reverts libvpx in contrib to the previous working version,
      for all platform, except for ANDROID as the author of the incrimined
      commit has used v1.6.0 as a version buildable on ANDROID with clang.
      
      WARNING: current android client build libvpx but doesn't enable VP8
      coded! So we don't have any way to test the library on android!
      
      Change-Id: I764907c28d24dcbe90fb69748bed5cf684d594f3
      Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
      4eda26c3
  3. 07 Oct, 2016 6 commits
  4. 06 Oct, 2016 4 commits
    • Stepan Salenikovich's avatar
      stop tone and remove audio of failed call · 664a6ebf
      Stepan Salenikovich authored
      If an incoming call fails due to some error (eg: 503), its ring
      tone is never stopped. This stops the ring tone and audio streams
      of the call on failure. Otherwise they keep playing and cannot be
      stopped by the user without killing the daemon.
      
      Change-Id: I8e3948812fab5d024a9571a99122b452dc4ca092
      Tuleap: #1012
      664a6ebf
    • Guillaume Roguez's avatar
      manager: fix Manager::createSinkClient() · a06588ed
      Guillaume Roguez authored
      Manager::createSinkClient() returns a nullptr set shared_ptr
      when called with an id already associated to a sink client.
      This is not the waiting behaviour: returns the existing client.
      
      This patch fixes that and also add documentation to the public
      API to explicit this behaviour.
      
      Change-Id: Idc9a0b4f7d7a06e2bdafe965891469903f0d5d99
      a06588ed
    • Adrien Béraud's avatar
      contrib: bump pjsip to 2.5.5 · 55f19bf7
      Adrien Béraud authored
      * bump pjsip version in contrib to 2.5.5
      * adapt sipvoiplink to UAS dialog API change
      * add patch for Android
      * rebase the gnutls patch:
       - implement new method pj_ssl_sock_start_accept2
       - add back the diff stat
       - update copyright to 2016
      
      Major changes in pjsip 2.5.5:
      * IPv6 support in PJNATH
      * IPv6 support in PJLIB-UTIL DNS SRV and DNS AAAA resolution
      * IPv6 support for hostname resolution in PJSIP and PJSUA-LIB
      
      Tuleap: #62
      Change-Id: I098bce4e5f36fb177de24ccb98a310673068b756
      55f19bf7
    • Guillaume Roguez's avatar
      contrib: force top Makefile to not be parallelizable · 9fab6d32
      Guillaume Roguez authored
      Set .NOTPARALLEL target to enforce non-parallelizable
      top Makefile rules. This protect agains two parallel builds
      of inter-dependant libraries.
      But each package continue to use the multi-job option if given.
      Reviewed-by: default avatarAlexandre Viau <alexandre.viau@savoirfairelinux.com>
      Change-Id: I98ae532dcc924ef5cae1ea235a807469ed77ed99
      9fab6d32
  5. 05 Oct, 2016 4 commits
    • Guillaume Roguez's avatar
      contrib: force boost to be build · c24c0e09
      Guillaume Roguez authored
      This patch remove the forcing on GNU/Linux platforms
      to use the system provided boost.
      This causes the boost deps to always be compiled.
      This solves many issues with badly installed systems.
      
      Change-Id: Ia6725882b09e9d19837da382c9c3afb88e735096
      c24c0e09
    • Guillaume Roguez's avatar
      account: delete filesystem traces of an account · 8619027f
      Guillaume Roguez authored
      This patch adds a new virtual API to Account, flush(),
      that does nothing by default. Concrete classes may overload it
      when it's needed to remove filesystem entries created by them.
      
      Then this patch adds also overloads of this method in SIPAccountBase and
      RingAccount to delete all files added by these account classes.
      
      Finaly, the removeAccount() external API calls flush by default, but
      internal calls do not, to keep a conservative behaviour
      and not destroying account files due to yml parsing errors.
      
      Change-Id: I52c4e225f4d41f0e3d74f63838e56a769011b58e
      Tuleap: #988
      8619027f
    • Alexandre Lision's avatar
      contrib: deactivate getentropy for macOS · 4f448e13
      Alexandre Lision authored
      getentropy function as been added to MacOS 10.12 and iOS 10.
      During GnuTLS compilation, the function can be detected in the new
      10.12 SDK, but at runtime it fails to find the appropriate method on
      the system.
      
      It means that we can produce packages that won't work on some OS
      versions. For precaution this commit patches GnuTLS to stop trying to
      enable this function on all macOS versions.
      
      It also removes another patch in GnuTLS for OSX that wasn't used anymore
      
      Change-Id: I3af8b111f65e38d2d01da600c899d5717e82d8e9
      Tuleap: #911
      4f448e13
    • Edric Milaret's avatar
      contrib: deactivate clock_gettime for iOS and macOS · 50addb39
      Edric Milaret authored
      clock_gettime function as been added to MacOS 10.12 and iOS 10
      so launching the Ring App would result in symbol not found on OS
      before 10
      
      Change-Id: Ifcd841379483ef9b8d17f54ee5b99f0a2526f94a
      Tuleap: #911
      50addb39
  6. 04 Oct, 2016 2 commits
  7. 03 Oct, 2016 1 commit
  8. 29 Sep, 2016 2 commits
  9. 28 Sep, 2016 3 commits
  10. 27 Sep, 2016 1 commit
    • Guillaume Roguez's avatar
      sip: prevent too long hostname when resolving · 2fcad619
      Guillaume Roguez authored
      This patch fixes PJSIP crash (assertion) due to too long
      hostname given to resolve method.
      We have a check for that but as PJSIP may prefix our given
      name by such string as "_sip._udp.", the check is not enough.
      This patch adds a security marge of 12 bytes to handle that.
      
      Change-Id: Icb47e7d105ef0c8a9a10b1984f5e95bede623f8c
      Tuleap: #969
      2fcad619
  11. 26 Sep, 2016 1 commit
  12. 23 Sep, 2016 3 commits
    • Adrien Béraud's avatar
      contrib: add boost, cryptopp · 6f57f002
      Adrien Béraud authored
      Change-Id: Ia972ca8b3ae99f382ca7d7433071e4c3dd07a6ee
      Tuleap: #682
      6f57f002
    • 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>
      921146f5
    • 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
      adf9c5c4
  13. 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
      69fa3511
  14. 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
         redundancy.
       * setSampleRate is used instead of recreating the object in
         tonecontrol.cpp
      
      Change-Id: I44a86345953068848d0304516d502de5c37bb113
      Tuleap: #168Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      b6771a0c
  15. 17 Sep, 2016 1 commit
  16. 16 Sep, 2016 2 commits
  17. 15 Sep, 2016 1 commit
  18. 12 Sep, 2016 2 commits
  19. 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
      12996f11
  20. 07 Sep, 2016 2 commits