1. 19 Oct, 2016 2 commits
    • aviau's avatar
      README: mention gnu.org mailing list · bf357c0d
      aviau authored
      Change-Id: Ia2e85184fc5f4dc47b3f2550fd72d4ae6a61ed63
    • aviau's avatar
      README: Ring -> GNU Ring · 8e7302e2
      aviau authored
      More replacements will be done in future changesets. Including
      Links to mailing lists on Savannah.
      Change-Id: Ia7f89eb159858eece065addfe0032326ddad9a39
  2. 18 Oct, 2016 5 commits
    • Loïc Siret's avatar
      audio: fix recording · b1d4a5c6
      Loïc Siret authored
      Audio recording files are not closed properly, making them corrupt
      on mac osx (wave header for file size or duration is 0) . Also
      recording filenames contain duplicates, and sometimes missing
      the entire filename.
      This patch :
      - adds call to closeFile when a call is remove from manager
      - prevents filename duplication
      - ensures filename is initialized on audio recorder
      Change-Id: Iec3a606f9e65bbbfb5bcaf50ba924223c396507b
      Tuleap: #999
    • Anthony Léonard's avatar
      build: fix daemon build for mingw32 when restbed is needed. · 18533eb2
      Anthony Léonard authored
      Fix compilations options problem when building
      for mingw32.
       * configure.ac: Removed some LDFLAGS preventing test for
         librestbed to work. Also added -lws2_32 as restbed needs
       * src/Makefile.am: LDFLAGS removed from configure.ac are
         included here.
      Change-Id: Ie6256663778eb1376d4ae7930cbc94e7a240c714
    • Guillaume Roguez's avatar
      ice: fix IceTransport getLocalAddress/getRemoteAddress APIs · b1e576a3
      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
    • Guillaume Roguez's avatar
      ice: fix ICE init failure with unreachable TURN · 0bc5829b
      Guillaume Roguez authored
      This commit patches PJSIP to not terminate with failure an ICE stream
      transport during its initialization if a TURN is set
      and this one is unreachable.
      In such situation, as we don't try to negotiate with
      remaining candidates, we don't let the session have a chance
      to succeed with these candidates.
      The commit also fixes an "over-trying" of contact
      the TURN server: a contact phase is normaly done
      PJ_STUN_MAX_TRANSMIT_COUNT (7 currently) time with
      an incrementally sized duration between tries.
      But the whole process is made PJ_TURN_MAX_DNS_SRV_CNT
      time (was 4, changed for 1) even if it's always
      the same IP. This leds with our current settings
      to an very long time before contact phase timeout
      (around 2 minutes!).
      We also increase number of STUN servers per transport
      (PJ_ICE_MAX_STUN) to 3 as we need 2 entries for
      IPv4 and IPv6, and one set by user.
      Finaly, our code is changed to not depend on an timeout
      now for the Ring account ICE initialization
      (the one for SIP), to let TURN registring enough time
      to succeed. This fixes also blocking client issue
      when it want to cancel the call during this init phase.
      Change-Id: I1aa2e95c1668d4706213930526aaccaffbe0538d
      Tuleap: #1047
    • Adrien Béraud's avatar
      contrib: bump opendht · 44b876a2
      Adrien Béraud authored
      Change-Id: I041e4abaf940b680778e77ff3801ec5de6970c46
  3. 17 Oct, 2016 4 commits
    • Guillaume Roguez's avatar
      ringaccount: support for IPv6 · 12c1dec5
      Guillaume Roguez authored
      This patch tags PJSIP custom ICE transports as "TLS IPv6"
      if the local address support this family.
      Change-Id: I0ca01b5f373b4e873ed7be24b58497992a99fc9d
      Tuleap: #891
    • Guillaume Roguez's avatar
      ice: ipv6 support · aeb3a7ae
      Guillaume Roguez authored
      This patch follows the bump of PJSIP to 2.5.5 version, introducing IPv6
      support to PJNATH library.
      - ICE configuration is modified to support IPv6 STUN and TURN servers
      - we add by default the host addresses in IPv6 and IPv4
        (in this order, so IPv6 can be selected in priority)
      Tuleap: #891
      Change-Id: Ia0355c2691e3d03346e85295265dd9acc424d58e
    • Adrien Béraud's avatar
      contrib: bump opendht · f119d148
      Adrien Béraud authored
      Change-Id: I41645b3a33850543a6b9c2d28bde9c82e2d220f5
    • Philippe Gorley's avatar
      video: add multi gpu support for vaapi · d6a90bf9
      Philippe Gorley authored
      This iterates over all DRM devices under
      /dev/dri (card* and renderD*) and returns the first
      device that works
      Change-Id: I4a4aea565122abf81786b0ccc69539631f10b5f8
      Tuleap: #1082
  4. 15 Oct, 2016 1 commit
    • Adrien Béraud's avatar
      android: enable vp8, cleanup · e03b970d
      Adrien Béraud authored
      Fix and enable VPX on Android.
      Since the Android build moved to clang and libc++,
      it's no longer necessary to redefine some common
      standard C++ methods.
      Change-Id: I3488633782ded31bc260c5a234802ebd6f251377
  5. 14 Oct, 2016 1 commit
  6. 12 Oct, 2016 6 commits
  7. 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>
  8. 07 Oct, 2016 6 commits
  9. 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
    • 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
    • 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
    • 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
  10. 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
    • 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
    • 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
    • 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
  11. 04 Oct, 2016 2 commits
  12. 03 Oct, 2016 1 commit
  13. 29 Sep, 2016 2 commits
  14. 28 Sep, 2016 1 commit
    • Adrien Béraud's avatar
      android: build with clang · ac44cbaa
      Adrien Béraud authored
      * adapt contrib flags for clang
      * fix pjsip using CFLAGS to compile c++
      * fix minor OpenSL issues
      Change-Id: I8c45441052fb5efef44d54a3cb6f75407e543b7b
      Tuleap: #575