Skip to content
Snippets Groups Projects
  1. Nov 27, 2020
  2. Nov 23, 2020
  3. Nov 12, 2020
  4. Nov 09, 2020
  5. Oct 28, 2020
    • Mohamed Chibani's avatar
      sipcall/ice: Reset temporary ice session · dff50951
      Mohamed Chibani authored
      The temporary ice session created by sipcall, might not be
      properly released if the call is rejected by the user while
      searching/connecting.
      
      Change-Id: I053c2a4c4bd864c4dd4c73488175da30d1bf08db
      dff50951
  6. Oct 25, 2020
  7. Oct 23, 2020
  8. Oct 20, 2020
    • Sébastien Blin's avatar
      call: avoid to get access to invalidated account · d7f840f1
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      getSIPAccount() is returning a reference to the SIPAccount. Account
      that can be destroyed and if a mistake is made, the data can be
      invalidated, generally even when closing the daemon.
      
      This patch change the behavior of getSIPAccount() to return a
      weak_ptr to make sure that the Account is alive when performing
      actions on the call
      
      Change-Id: I1dcc05bce0c9826297535b5a5224f9ff22479d80
      d7f840f1
  9. Oct 09, 2020
  10. Sep 30, 2020
  11. Sep 28, 2020
  12. Sep 16, 2020
    • Pierre Lespagnol's avatar
      recorder: host notify each peer when recording + cleanup · d8de5efe
      Pierre Lespagnol authored and Adrien Béraud's avatar Adrien Béraud committed
      - Allows conference host to notify each participant when recording
      - Remove unnecessary callback
      - Notify host if remaining participant is still recording after conference
      - Update host notification if participant leave the conference
      
      Change-Id: Ib17675442f2e175fe8711c695bc737ffa6d89f05
      d8de5efe
  13. Sep 13, 2020
    • Kateryna Kostiuk's avatar
      call: fix mute microphone · f03e2f62
      Kateryna Kostiuk authored and Adrien Béraud's avatar Adrien Béraud committed
      When call unpaused after microphone was muted, mute state changes to
      unmute in call, when in audio input it still muted. After this all attempts
      to mute/unmute audio are unsuccessful. This patch removes
      mute state update when restarting media, since audio muting managed only
      by audio input, and should not be related of rtp session parameters.
      This patch left video mute state updates.
      
      Change-Id: I4ac3bea04865fa23b876d5c10fcb5c172c4501a3
      f03e2f62
    • Pierre Lespagnol's avatar
      recorder: handle remote recording for conference · 765e0650
      Pierre Lespagnol authored and Adrien Béraud's avatar Adrien Béraud committed
      Change-Id: I2acae919d2a600e8125e203c169be057ec8fda81
      765e0650
  14. Sep 10, 2020
    • Mohamed Chibani's avatar
      user-agent: add user-agent header · 3754af14
      Mohamed Chibani authored
      Add user-agent header to most relevant SIP messages (INVITE, RINGING, OK, ...).
      The user-agent string is generated from the build version. The user-agent
      header is useful to identify build version used by the peer.
      
      Change-Id: Ic99263ca147d3f96c3c092be2ff3d723bdb6fe6f
      Gitlab: #287
      3754af14
  15. Aug 31, 2020
  16. Aug 11, 2020
  17. Jun 05, 2020
  18. May 26, 2020
    • Pierre Lespagnol's avatar
      ice_transport: move media ice destruction in IO thread · 9214fe3b
      Pierre Lespagnol authored
      Ice destruction can take too long and delay media initialization.
      This causes first packets sent by the peer to be missed.
      
      This patch fix multi-device call bug with Android (and MediaCodec)
      
      Change-Id: I4ceb1838e668d5be2ed36d1e0d2f00113833f63c
      9214fe3b
  19. May 15, 2020
  20. Apr 29, 2020
    • Kateryna Kostiuk's avatar
      call: avoid deadlock on hangup · 7d8e4323
      Kateryna Kostiuk authored
      This patch move checkAudio() out of call mutex. Because it could cause
      deadlock if subcallStateChanged() called at the same time.
      
      Change-Id: Iee06874fb79c8e0953e061f7a669b3f61f13d8b9
      7d8e4323
  21. Apr 22, 2020
    • Sébastien Blin's avatar
      manager: make manager owns sipvoiplink · 5e086184
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      The current design describes SIPVoIPLink as a Singleton. This cause
      some behaviors where the link is destroyed then immediately created
      or vice-versa and its creation/destruction can't really be planned.
      This design was made to allow multiple Managers to exist. However,
      we never do that, so let's keep it simple, there is only one
      Manager and all accounts needs that SIPVoIPLink
      
      This patch change this behavior and the voip link is now owned
      by the manager.
      
      Change-Id: I248e41742d342cf452a5503f532fe5ab862166e6
      5e086184
  22. Apr 09, 2020
    • Sébastien Blin's avatar
      sipcall: fix audio binding on offHold · c14fdcb6
      Sébastien Blin authored
      offHold can return false even if the action is pushed in the
      requests. This means, that the audio will not be binded to the
      call if offHold is waiting for ICE.
      
      Change-Id: I0fbdf4682a613919cee1ae5b2242077d1bd57fd7
      Unverified
      c14fdcb6
  23. Mar 20, 2020
    • Kateryna Kostiuk's avatar
      video: fix incoming video for iOS · 9838b089
      Kateryna Kostiuk authored
      During incoming calls to iOS, video input failed to open sometimes.
      It happens for two reasons:
      1. Stopped by interrupt callback.
      2. Keyframe callback was set two late.
      
      This patch:
      1. Completes decoder configuration after video loop start running.
      2. Sets keyframe callback for video session before starting.
      
      Change-Id: I00e1ace06a78ab2ec2fb3ce6fe6a5991c6593318
      9838b089
  24. Mar 05, 2020
  25. Feb 28, 2020
  26. Feb 10, 2020
  27. Jan 03, 2020
  28. Dec 24, 2019
    • Sébastien Blin's avatar
      sipcall: avoid use after free on the invite session · 4ad78be5
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      pjsip uses a counter to delete objects when the ref counter is equals to 0.
      This means that our unique_ptr on the invite will be invalid if resources are
      already freed by pjproject. To avoid this, we need to increment and decrement
      the counter when we respectively create and destroy our unique_ptr on the
      invite session
      
      Change-Id: Ida5c687004b91100f1c10f83e32c1a40264c775c
      4ad78be5
  29. Nov 22, 2019
  30. Nov 21, 2019
  31. Nov 13, 2019
  32. Nov 11, 2019
  33. Nov 08, 2019
    • Sébastien Blin's avatar
      upnp: asynchronous open/close ports · 2d909770
      Sébastien Blin authored and Andreas Traczyk's avatar Andreas Traczyk committed
      The UPnP stack now opens and closes ports with an
      asynchronous mechanic and with callbacks.
      
      Every time a mapping request (open or close) is sent,
      a callback is registered and managed by the context.
      When the corresponding protocol executes the request and
      gets an answer, the right callback is found and dispatched
      to its controller. A timeout of 1 second is implemented
      on each request.
      
      Controllers can now be tracked with a unique Id (a string
      that represents its location in memory).
      
      The IGD class now tracks its current active ports and
      manages the number of users for each port.
      
      The PMPIGD class now operates using a queue of mapping
      requests. Whenever a request is made to the natpmp protocol,
      it saves the request to its corresponding list (mapToAdd,
      mapToRemove or mapToRenew in the PMPIGD class) and notifies
      the main natpmp thread. The thread then checks if there
      is any pending map requests in the PMPIGD queue and treats
      them accordingly.
      
      Add Nat-Pmp support for windows.
      
      Fixed bug where nat-pmp wouldn't find an IGD on a new interface
      after a connectivity change. The problem stems from the fact
      that, for one, the nat-pmp handle didn't get cleared internally
      once a connectivity change occured. This would cause the nat-
      pmp library to try and send searches on a socket that was
      bound on the old gateway. Secondly, if you don't wait for a
      little period of time, the natpmp library would discover the
      old IGD on the old interface before the connectivity change
      modifications were completed. Now we restart the nat-pmp
      process one second after the connectivity change triggers.
      
      Change-Id: I39a9b57e237deaa65eef4464a1838eaa3c5bbb03
      2d909770
  34. Nov 06, 2019
Loading