1. 17 Aug, 2015 3 commits
    • Guillaume Roguez's avatar
      logger: rewrite · 10f56705
      Guillaume Roguez authored
      - Console mode modified for a nice look:
        - add timestamp
        - colored header
        - reordering
      - Fix syslog output (openlog on "dring")
      - Multithread safe (mutex protected)
      - Make logger a C++ file and code cleanup
      
      Issue: #79075
      Change-Id: I6c818ec283541ce8e740693ebefbafce3cac5617
      10f56705
    • Guillaume Roguez's avatar
      libav: make av_log optionnal using environment · d7b36194
      Guillaume Roguez authored
      Using AVLOGLEVEL environment variable, user can now
      finely define which av_log level is requiered.
      
      AVLOGLEVEL has to be set using values accepted by av_log_set_level.
      
      Issue: #79075
      Change-Id: I25f4c8842eca159ebac0e13c9af4e29289c07962
      d7b36194
    • Guillaume Roguez's avatar
      call factory: fix constness · e8ce28e7
      Guillaume Roguez authored
      Issue: #79075
      Change-Id: Iffe1715406a00dd8d8f3321927bf7a2c17cd62c6
      e8ce28e7
  2. 13 Aug, 2015 1 commit
  3. 12 Aug, 2015 3 commits
  4. 11 Aug, 2015 2 commits
  5. 10 Aug, 2015 2 commits
    • Guillaume Roguez's avatar
      ringaccount: register a public address at ICE creation · e4cdde22
      Guillaume Roguez authored
      This patch tries to solve a situation where one peer has
      a TURN server registered but the other peer doesn't have
      any NAT traversal systems.
      To solve that we use a recent OpenDHT API that returns
      a list of public IP discovered during DHT transferts.
      The most seen address is used to register a new relflective
      candidate, coupled to an existing and registered host address.
      It's port is stolen, but as this candidate is added after
      ICE initialization, the candidate is not used for negotiation.
      This is mosly a PJSIP hack as we use an implementation details.
      
      Issue: #78582
      Change-Id: Ic16527f04b4e07905c405d8681223a02fee16d55
      e4cdde22
    • Stepan Salenikovich's avatar
      libav: update required version of libavutil in contrib · d578cc4d
      Stepan Salenikovich authored
      Issue: #74817
      Change-Id: I6a07f478e151ca13a6d8d73a4bdb2807ec1f8797
      d578cc4d
  6. 07 Aug, 2015 3 commits
  7. 06 Aug, 2015 2 commits
  8. 05 Aug, 2015 2 commits
  9. 04 Aug, 2015 2 commits
  10. 31 Jul, 2015 3 commits
    • Emmanuel Lepage Vallee's avatar
      im: Improve message splitting · b45c6d9a
      Emmanuel Lepage Vallee authored
      Handle more corner cases to more messages can be obtained and
      parsed by Ring. This add a "isMixed" agument to the API
      to tell if the message parts are related (true by default)
      or not.
      Do also some code cleanup on affected code.
      
      WARNING: Break API
      
      Refs #77651
      
      Change-Id: I8f5d88f87b2bd5c66963047c7ced29d69498b668
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      b45c6d9a
    • Guillaume Roguez's avatar
      sipvoiplink: clarify transaction state change callback · 135a5a82
      Guillaume Roguez authored
      This patch rewrites transaction_state_changed_cb (and some helpers)
      to make it more easier to read and modify.
      This also rewrite how to REFER request is handled, remove the broken
      ringing event (NOTIFY after a REFER req) as it'll confuse
      the current call state.
      
      Issue: #78295
      Change-Id: Id4f223b7c784173262369f15bd46756b08a48425
      135a5a82
    • Edric Milaret's avatar
      win32: use dht random_device implementation · e5c1baf1
      Edric Milaret authored
      - this patch bump opendht (needed a header not installed)
      
      - still use std::random_device on linux
      
      Issue: #76261
      Change-Id: Ie8a5c26b74b00900f55576384c2db0605903e3e1
      e5c1baf1
  11. 29 Jul, 2015 3 commits
    • Adrien Béraud's avatar
      manager: export runOnMainThread helper · 7ca89c65
      Adrien Béraud authored
      This is a static template function to help installation
      of a callback to be called once from main thread at next eventloop round.
      
      Issue: #78262
      Change-Id: I1c9abcb2f07944f204b85c095cb2b245744ff33f
      7ca89c65
    • Guillaume Roguez's avatar
      ice: add TURN static credential support · a1fc15cb
      Guillaume Roguez authored
      This patch add static credential support in YAML config file and
      with client throught account details.
      
      Issue: #78102
      Change-Id: I1727305fda7049e67838b34acc10ba26ad0eab9f
      a1fc15cb
    • Guillaume Roguez's avatar
      sip/media: fix crash when video codec change on non-video call · 3ce6034d
      Guillaume Roguez authored
      Prevents usage of SIPCall::useVideoCodec on a non-sending video RTP session.
      This patch also changes the error SDP message about empty media slots
      by using a warn type msg.
      
      Issue: #78344
      Change-Id: I5675ea80a14d468a909844bc3bd62908214ba48f
      3ce6034d
  12. 28 Jul, 2015 1 commit
  13. 27 Jul, 2015 1 commit
  14. 24 Jul, 2015 3 commits
  15. 23 Jul, 2015 4 commits
    • Guillaume Roguez's avatar
      alsalayer: fix too long blocking AlsaThread when joining it · ab614cdc
      Guillaume Roguez authored
      AlsaThread calls AlsaLayer::openDevice() that may block 10s
      if alsa device is busy. And this call is done 3 times!
      It's a problem if it occures during thread join(), made at call hangup
      for examble, blocking all the application until the thread die.
      
      This patch reduces the timeout of openDevice to 2s and check
      if thread exit is requested at each retry.
      
      Issue: #75538
      Change-Id: I3affa3869d039393677b57d2c9456f2ff1405264
      ab614cdc
    • Guillaume Roguez's avatar
      alsalayer: use smart pointer to handle heap allocation · b42da5db
      Guillaume Roguez authored
      Use std::unique_ptr to handle AlsaThread allocation
      
      Issue: #75538
      Change-Id: I51c4dff4574e53bacb8e16f6400d0add42e53d14
      b42da5db
    • Adrien Béraud's avatar
      temporarly disable IPv6 in OpenDHT · 53a89ab8
      Adrien Béraud authored
      Issue: #78052
      Change-Id: I03cb4a9c8c726d9a783aeb098366c3db4ba54833
      53a89ab8
    • Guillaume Roguez's avatar
      tls/ice transport: prevent deadlock in TLS/ICE thread · 386fa0d4
      Guillaume Roguez authored
      Remove the wait on rxPending_ empty queue event
      in TLS thread cleanup as this event has to be trigged
      by handleEvent() code, but this last is called by mainloop only,
      and this lst is waiting about TLS thread end by a join()... deadlock!
      
      Issue: #77682
      
      Change-Id: I895f09af51deb8bab36c3c6511606586341e2783
      386fa0d4
  16. 22 Jul, 2015 5 commits
    • Guillaume Roguez's avatar
      sipvoiplink: make memory pool a class member, not a global · 48a5ed6b
      Guillaume Roguez authored
      Issue: #76205
      Change-Id: I2835c362462493d35106f7da18594e391cfe9a89
      48a5ed6b
    • Adrien Béraud's avatar
      api: support private key password · 401213a4
      Adrien Béraud authored
      WARNING: Public API changes:
      - ConfigurationManager::validateCertificatePath()
      - ConfigurationManager::getCertificateDetailsPath()
      
      Issue: #76890
      Change-Id: I89f0691b9cc21eb853fbe5b4397853c05c5eefd2
      401213a4
    • Guillaume Roguez's avatar
      account: fix parseInt template · c382a7e4
      Guillaume Roguez authored
      Incorrect template function prototype.
      Error introduced by commit 8700cae2.
      
      Issue: #76374
      Change-Id: I18509836d4dab2f14a650a3a6a420133fb201679
      c382a7e4
    • Adrien Béraud's avatar
      tlsvalidator: support private key password · 83419a01
      Adrien Béraud authored
      OpenDHT version also updated to bring decryt error exception.
      
      Refs #76890
      
      Change-Id: Ib9cffb625fc71b573992eb61ea6b0063317514c5
      83419a01
    • Guillaume Roguez's avatar
      media: refactor live bitrate change · ad477a2f
      Guillaume Roguez authored
      This refactoring improves user experience, fix an issue and simplify code.
      
      - less exposed "internal" stuff (RTP sequence value)
      - don't expose internal business logic to upper layers.
      - remove uneeded full media restart: only media_encoder is restarted
      - fixed non protected shared access to codec isRunning value causing
        a race condition on access and good design practices violation
        (tight coupling between unrelated classes).
      
      Refs #77483
      
      Change-Id: Idb1e3940601ff0d483e7721f627a0c8dd766f844
      ad477a2f