1. 31 Oct, 2016 1 commit
  2. 18 Oct, 2016 2 commits
    • Guillaume Roguez's avatar
      ice: fix IceTransport getLocalAddress/getRemoteAddress APIs · e59d0f44
      Guillaume Roguez authored
      This patch contains following changes:
      
      * getLocalAddress : wasn't return the negotiated IP if available
      * getRemoteAddress : do not check for negotiation state
      * some debug added
      
      This fixes bugs during call establishement when IPv6 pair is negotiated,
      but an IPv4 TURN is given as candidate (and not selected,
      but used as default IP).
      
      Change-Id: I89a973c16674b24cce35dc6dd9433554cb3a41bd
      Tuleap: #891
      (cherry picked from commit b1e576a3)
      e59d0f44
    • Philippe Gorley's avatar
      video: add multi gpu support for vaapi · 15fd0552
      Philippe Gorley authored and Philippe Gorley's avatar Philippe Gorley committed
      This iterates over all DRM devices under
      /dev/dri (card* and renderD*) and returns the first
      device that works
      
      Change-Id: I4a4aea565122abf81786b0ccc69539631f10b5f8
      Tuleap: #1082
      (cherry picked from commit d6a90bf9)
      15fd0552
  3. 12 Oct, 2016 1 commit
    • Guillaume Roguez's avatar
      contrib: fix vp8 regression · 224b2559
      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>
      (cherry picked from commit 4eda26c3)
      224b2559
  4. 08 Oct, 2016 5 commits
  5. 07 Oct, 2016 1 commit
    • Guillaume Roguez's avatar
      manager: fix Manager::createSinkClient() · bca56b98
      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
      (cherry picked from commit a06588ed)
      bca56b98
  6. 06 Oct, 2016 1 commit
  7. 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
  8. 04 Oct, 2016 2 commits
  9. 03 Oct, 2016 1 commit
  10. 29 Sep, 2016 2 commits
  11. 28 Sep, 2016 3 commits
  12. 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
  13. 26 Sep, 2016 1 commit
  14. 23 Sep, 2016 3 commits
  15. 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
  16. 21 Sep, 2016 1 commit
    • Anthony Léonard's avatar
      audio: TelephoneTone isn't recreated entirely anymore · b6771a0c
      Anthony Léonard authored and Guillaume Roguez's avatar Guillaume Roguez committed
      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: #168
      
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      b6771a0c
  17. 17 Sep, 2016 1 commit
  18. 16 Sep, 2016 2 commits
  19. 15 Sep, 2016 1 commit
  20. 12 Sep, 2016 2 commits
  21. 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
  22. 07 Sep, 2016 2 commits
  23. 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
      b631c8f3