1. 02 Aug, 2019 1 commit
    • Eden Abitbol's avatar
      upnp: support libupnp and libnatnatpmp simultaneously · 60515d89
      Eden Abitbol authored
      Update libupnp to version 1.8.4.
      For windows, the IPV6 preprocessor must be undefined. Or else
      libupnp won't initialize. Added visual studio 2017 support
      via one patch for windows that also combines previous windows
      UPnPController: Class that the jami classes use to control the
      opening and closing of ports. Every  service has it's own upnp
      controller. The controller does it's actions by using the upnp
      context class. Also refactored the functions used to add
      mappings. Instead of using two different functions with
      different types of parameters, we now use one function with
      parameters that have default values. The logic stays the same
      but the function call is more clear.
      UPnPContext: Class that holds a (linked) list of discovered IGDs
      and their corresponding protocols (which discovered them).
      Whenever the controller wants to add or remove a mapping, the
      context picks a valid IGD in it's list and uses the correct
      protocol to complete the required action. This class also has
      the ability to swap protocols for an IGD that was discovered
      by more then one protocol.
      UPnPProtocol: Virtual base class that defines the functions
      needed by the context to use the corresponding protocol.
      PUPnP: UPnPProtocol derived class that represents a upnp client
      that uses the portable upnp library (libupnp). Every time the
      client discovers a new IGD it uses a callback to add it to the
      context's main IGD linked list. It also has an internal list of
      IGDs that it discovered. Added features to this class include:
      	- IGD event subscription.
      	- Use UpnpInit2 function instead of deprecated UpnpInit
      	  function. It's also supposed to support IPv6.
      NatPmp: UPnPProtocol derived class that represents a upnp client
      that uses the NAT-PMP library (libnatpmp). Unlike libupnp,
      libnatpmp only supports discovering one IGD. Also uses callbacks
      to add the IGD it finds to the context's main IGD class.
      Also inclided debug warning prints whenever a controller opens
      and closes the ports. That way we can keep track of whenever
      the application opens and closes ports on the internet
      gateway device.
      Gitlab: #96
      Change-Id: I199271edac2c6d93dc60c24e2e2aefe36de7950c
  2. 23 Jul, 2019 1 commit
  3. 19 Jul, 2019 1 commit
    • Adrien Béraud's avatar
      build: cleanup · 780a9d57
      Adrien Béraud authored
      Remove unused build options, flags and defines
      Change-Id: I0c25511ade66025427ca0411cf34cfdd73a4bd1f
  4. 11 Jun, 2019 1 commit
  5. 17 Apr, 2019 1 commit
  6. 02 Apr, 2019 2 commits
  7. 25 Mar, 2019 1 commit
  8. 11 Mar, 2019 1 commit
  9. 07 Mar, 2019 1 commit
  10. 01 Feb, 2019 1 commit
    • Philippe Gorley's avatar
      audio: add audio meter · c52e332b
      Philippe Gorley authored
      Adds a signal that sends the linear RMS level for a given ring buffer.
      The signal must be turned on via the API and can be turned off when
      Adds an audio preview so the mic can be read. Call startAudioDevice and
      stopAudioDevice to initialize and stop the audio layer.
      Change-Id: I6a71ef87ee805a6d4bfa824fa901dd638e8cbd65
  11. 16 Jan, 2019 1 commit
    • Philippe Gorley's avatar
      accel: add signals when toggled · 94c8f4b6
      Philippe Gorley authored
      Preemptively adds signal for hardware encoding so version won't have to
      be bumped again.
      Change-Id: Ie3b828671fab3628853b85a2a8259200e9a809c0
      Gitlab: #55
  12. 15 Jan, 2019 1 commit
  13. 11 Jan, 2019 1 commit
  14. 10 Jan, 2019 1 commit
  15. 04 Jan, 2019 1 commit
    • Philippe Gorley's avatar
      rename Ring to Jami · 8b9940eb
      Philippe Gorley authored
      Removes refrences to project name in logs and comments where it doesn't
      matter whether or not the name is specified.
      Change-Id: I17f99390226929ee620bc479b203825389bb3d4d
  16. 19 Nov, 2018 1 commit
  17. 30 Oct, 2018 1 commit
    • Hugo Lefeuvre's avatar
      call management: add PEER_BUSY status · a031c92d
      Hugo Lefeuvre authored
      There is currently no distinction between the "peer busy" and "we
      replied busy after timeout" states, since both end in the BUSY state.
      Add a new PEER_BUSY state allowing such a distinction:
      * PEER_BUSY is set when peer replied busy
      * BUSY is set when we replied busy to an incoming call
      Bump daemon API number to major 7.0.0 since this is breaking the
      current API. In fact, these changes should not break anything in
      any well implemented client because unknown states should be properly
      handled, but better check.
      Change-Id: Id83f6db3d4524a91951b9945797f5fd2c019ff2f
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
  18. 13 Oct, 2018 1 commit
    • Philippe Gorley's avatar
      dring: expose frame wrappers in abi · b64c2570
      Philippe Gorley authored
      Makes use of AVFrame's reference counting if possible instead of copying
      the data.
      Only bumps minor version because MediaFrame et al weren't in the ABI
      until now.
      Change-Id: I692e76230ed057c1ad4e46ab59ea5cfd163fb98d
  19. 17 Sep, 2018 1 commit
    • Philippe Gorley's avatar
      build: add symbol visibility support · 43dcfd16
      Philippe Gorley authored
      Changes default visibility of symbols to hidden and makes only the API
      public. This patch aims to provide not only a stable API, but a stable
      ABI as well to any users of libring.
      This decreases the number of exported symbols significantly, benefitting
      dynamic linking time. Also decreases the chances of a symbol collision,
      and enables compiler optimizations.
      Bumps version to 6.0.0; clients must be recompiled.
      Change-Id: I5b639a6c0933af3021e40369b2e80d9a0b825e89
  20. 21 Aug, 2018 1 commit
  21. 16 Aug, 2018 2 commits
  22. 08 Aug, 2018 1 commit
    • Philippe Gorley's avatar
      audio: refactor resampler class · 20b631fb
      Philippe Gorley authored
      Using MediaFilter would make the resampling time longer and more
      unpredictable than directly using libswresample.
      Adds libswresample as a dependency.
      Simplifies Resampler class.
      Resampler detects changes in input and output formats automatically.
      Changes Audiofile to use Resampler instead of MediaFilter.
      Change-Id: I24919e8fa514dbb4a38408e338016976e7424136
  23. 03 Aug, 2018 1 commit
  24. 02 Aug, 2018 1 commit
    • Philippe Gorley's avatar
      audio: remove sndfile dependency · 834e835d
      Philippe Gorley authored
      Removes unused/deprecated audiorecord/audiorecorder
      Allows any file to be used as a ringtone (mp3, ogg, etc)
      Change-Id: I9ce33ec3d5f083caf098266befa597e78a95d7d6
  25. 30 Jul, 2018 1 commit
    • Philippe Gorley's avatar
      configure: remove ilbc and gsm · 2cbbaf79
      Philippe Gorley authored
      FFmpeg's RTP muxer does not support GSM, while Ubuntu does not package
      iLBC. Removes the old configure switches.
      Removes package detection from contrib. Keeps contrib rules in case GSM
      is later readded.
      Change-Id: I705a521e2baf34c757c22a72e04cdf27233b5a7b
  26. 04 Jul, 2018 1 commit
  27. 28 May, 2018 1 commit
  28. 09 May, 2018 1 commit
  29. 08 May, 2018 1 commit
    • Philippe Gorley's avatar
      media: add filters · ea2933d4
      Philippe Gorley authored
      Adds dependency to libavfilter, which provides many useful utilities
      such as hardware encoding, mixing audio or rotating video.
      Access to libavfilter is done through the MediaFilter class, which takes
      a filter graph string and AVFrames as input and outputs filtered
      Adds unit tests for MediaFilter.
      Change-Id: I0bf3869a9f19ad9cbbe1fc5e2d37eb83ece66ccc
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
  30. 29 Mar, 2018 1 commit
  31. 19 Mar, 2018 1 commit
  32. 28 Feb, 2018 1 commit
  33. 19 Feb, 2018 1 commit
  34. 12 Feb, 2018 1 commit
  35. 05 Feb, 2018 1 commit
    • Guillaume Roguez's avatar
      build in non-debug mode by default · 14f54750
      Guillaume Roguez authored
      * declare NDEBUG for library and contrib
      * activate pjsip extra checks as all PJ_ASSERT's are deactivated
      Side effect: pjsip does not call abort() due to disabled assertions.
      If debug is required:
      * contrib: call bootstrap with --enable-debug
      * libring: call configure with --enable-debug
      Change-Id: I47b104c0f32352f0503457a9d419c4ed5db4e126
  36. 01 Feb, 2018 1 commit
    • Adrien Béraud's avatar
      opendht: bump to 1.6.0rc1 · 56276217
      Adrien Béraud authored
      OpenDHT 1.6.0 unifies its API so users don't need to use
      extra build flags.
      Change-Id: Iea965def553a1a059cc9c41d3ff15ab96b2a8f31
  37. 31 Jan, 2018 1 commit
    • Adrien Béraud's avatar
      Ringaccount: add support for DHT proxy and push notifications · c5e74abe
      Adrien Béraud authored
      * Bump restbed for OpenDHT, update patch and add patch to react
        to timeout and socket closed in restbed.
      * Bump OpenDHT to support push notifications
      * Add DRing APIs to support setting a client push notification token
        and to retransmit push notifications to dring
      * Implement proxy support in RingAccount
      Change-Id: I8d3a02cf54a9666a94ab992ee3fa2958e82aa7ad
  38. 23 Jan, 2018 1 commit