Skip to content
Snippets Groups Projects
  1. 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
  2. Sep 21, 2021
  3. Sep 20, 2021
  4. Sep 19, 2021
  5. Sep 17, 2021
  6. Sep 15, 2021
  7. 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
  8. Sep 13, 2021
  9. 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
  10. 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
  11. 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
  12. Sep 02, 2021
  13. Sep 01, 2021
  14. Aug 31, 2021
  15. Aug 27, 2021
  16. Aug 26, 2021
    • Mohamed Chibani's avatar
      ice: resort the check list when adding prflx candidates · b954f3b5
      Mohamed Chibani authored and Sébastien Blin's avatar Sébastien Blin committed
      Resort the check list  when new prflx candidates are discovered,
      to avoid the nomination of candidates pairs with less priority.
      
      Gitlab: #617
      
      Change-Id: I93559facd8b6ce99708ccf1311925837d9cd119d
      b954f3b5
    • Mohamed Chibani's avatar
      ice: disable aggressive nomination · 172834b2
      Mohamed Chibani authored
      ICE "aggressive nomination" was enabled to reduce connection time.
      However, this feature may cause ICE to nominate a sub-optimal pair
      during the negotiation process. For example, nominating a
      relay-prflx pair, while a srflx-prflx is more optimal.
      Furthermore, aggressive nomination was dropped in the latest ICE
      specification (RFC-8445)
      Also fix logging of nominated pairs
      
      Gitlab: #601
      
      Change-Id: Ib08103b830fc0c5d158cf776a1082a0655317270
      172834b2
    • Mohamed Chibani's avatar
      upnp: restart upnp on connectivity change · a644354e
      Mohamed Chibani authored
      When receiving a 'connectivity change', UPNP search must be restarted
      if the host address changes and also if there is no valid IGD.
      Also reduce the number of retries on failure.
      
      Gitlab: #615
      
      Change-Id: I80e6d61ab79ef91f480bb0073b9cec8e7e67e559
      a644354e
Loading