Skip to content
Snippets Groups Projects
  1. Sep 28, 2021
  2. Sep 27, 2021
    • Mohamed Chibani's avatar
      jamiaccount: fix call hangup when removing the account · 15bdc648
      Mohamed Chibani authored and Sébastien Blin's avatar Sébastien Blin committed
      When an instance of JamiAccount class is destroyed, an attempt
      is made  in the destructor to hangup all existing calls by
      calling the hangupCalls() method. However, many methods used in
      the process (such as terminateSipSession) uses a weak_ptr to
      get the account instance, which is not accessible anymore.
      The call to hangupCalls() is now called before the JamiAccount
      destructor is called.
      
      Gitlab: #627
      
      Change-Id: I26e603a88c5074414d88e59d005d95a952c51d5e
      15bdc648
    • Adrien Béraud's avatar
      mediahandler: forward-declare AVFrame · 7af8f132
      Adrien Béraud authored
      Change-Id: I8c27143000c8e02d2245e0329ad87f5cf846a73f
      7af8f132
    • Sébastien Blin's avatar
      misc: remove some getIssuerUID() · cd2d4263
      Sébastien Blin authored
      using issuer->getId() is preferred, as the certificate can be
      incomplete.
      
      Change-Id: Ibf4129977d12b4867ce73f170e5c9fad04ad3952
      cd2d4263
  3. Sep 25, 2021
  4. Sep 24, 2021
  5. Sep 23, 2021
    • Mohamed Chibani's avatar
      ICE/PJNATH: fix crashes and assertion failures · ba7f20f9
      Mohamed Chibani authored
      This patch introduces many changes that prevent various crashes
      and assertion failures.
      
      In PJNATH source code:
       - Avoid duplication when adding host candidates.
       - Prtoect ICE context (lock) in TCP callbacks
       - Correctly set local and remote addres in STUN request
      
      In jami source code:
       - Check that the address is valid before using PJSIP
       helpers
      
      Gitlab: #617
      
      Change-Id: I317d748db8d1f93dda6d5f510a2fae909a04704c
      ba7f20f9
    • Mohamed Chibani's avatar
      logging: fix signature and name space · 5dc71b20
      Mohamed Chibani authored
      Also set agent logging to console by default.
      
      Change-Id: I4993886a149eb4f60e1d61bad7ed18956350599f
      5dc71b20
  6. Sep 21, 2021
  7. Sep 20, 2021
  8. Sep 19, 2021
  9. Sep 17, 2021
  10. Sep 15, 2021
  11. Sep 14, 2021
    • Sébastien Blin's avatar
      Revert "ice: resort the check list when adding prflx candidates" · 5fd4d2e0
      Sébastien Blin authored
      This reverts commit 5e453368.
      
      Reason for revert: Cause crash due to re-ordering the checklist while some checks are in progress
      
      The resort of is causing inconstitency between the checks. The current uses
      the list index as the ID for the STUN request. When the STUN response
      (for this request) is received, the ID is used as is to retrieve the
      check in the check list.
      If the list is re-ordered (when receiving an new incoming check), before
      the STUN response is received and processed, the ID of STUN request will
      point to a different check on reception of the STUN response.
      
      This a temporary revert until a more robust solution to the ordering
      issue is found.
      
      Change-Id: I912a9861118461ff7f6296f61c53531fa2b9384e
      Unverified
      5fd4d2e0
  12. Sep 13, 2021
  13. Sep 10, 2021
    • Adrien Béraud's avatar
      ChanneledSIPTransport: remove thread · e8dbf2af
      Adrien Béraud authored
      Change-Id: I295f444373aaf00ca11e56dd594e61548237364e
      e8dbf2af
    • Sébastien Blin's avatar
      jamiaccount: extract conversation's related code from class · 6c0a0aaf
      Sébastien Blin authored
      This patches introduces two new concepts in order to reduce the code
      of JamiAccount.
      
      ChannelHandlers to manages protocols logic. The idea of this class
      is to handle channels per protocol, accept and reject it.
      AccountModule, to be able to separate logic between call managements
      datatransfer, config and conversation but give an interface to
      detect when some events should occurs.
      
      Change-Id: I34ff07852c06d7266411f1ffb32b71a1834aba4f
      GitLab: #603
      6c0a0aaf
  14. Sep 08, 2021
    • Mohamed Chibani's avatar
      audio layer: prevent a deadlock · 8dcbbc38
      Mohamed Chibani authored
      A deadlock is caused by a lock-order-inversion of the private
      mutex from pulse-audio thread loop, and the callMutex_ mutex
      from the Call class. It occurs when concurrently calling
      writeToSpeaker() and onNegoDone() callbacks.
      The deadlock is prevented by avoid to a access Call data from
      the pulse-audio thread.
      
      Gitlab: #623
      
      Change-Id: I91d936b37528db3de24e93b0d49d686f5ca11813
      8dcbbc38
    • Sébastien Blin's avatar
      archive_account_manager: fix revokeDevice · a850889b
      Sébastien Blin authored
      Change-Id: Ib4377b5a109dc9b1554a35f2341820307ec6a500
      GitLab: #624
      a850889b
  15. Sep 03, 2021
    • Mohamed Chibani's avatar
      ice: fix issue in nomination of triggered checks · e9caa150
      Mohamed Chibani authored
      There is an issue with the nomination of triggered checks in ICE
      that causes ICE negotiation to conclude on sub-optimal pairs.
      The issue was reported, and acknolegded by PJSIP maintainers.
      This patch will fix the issue.
      
      Gitlab: #622
      
      Change-Id: I4bed7191692051d6215fbde8ee2ca9f94b76e0f9
      e9caa150
    • Mohamed Chibani's avatar
      ice/pjnath: use higher Ta interval · e26f9399
      Mohamed Chibani authored
      Use a higher Ta value (50ms instead of 20ms) as
      recommended by newer ICE spec (RFC-8445).
      This will reduce bandwith usage (peaks) needed for the connectivity
      checks as described in RFC-8445.
      
      Gitlab: #605
      
      Change-Id: I6a228a47d5f6cf574003d1354c4410294aedf95a
      e26f9399
Loading