1. 18 Nov, 2015 1 commit
    • Guillaume Roguez's avatar
      Ice: fix implementation · 2074c7fb
      Guillaume Roguez authored
      IceTransport::isXXX() API are not thread-safe, not clear in which
      state the transport is and not easy to manipulate (order of state).
      
      This patch tries to solve that by:
      - Procted API by a mutex
      - Remove uneeded isComplete() API
      - Ensure that each API are ordered (one at true implies true
        on all lower states: INITIALIZED -> STARTED -> RUNNING).
        All return false on Fail state.
      - Change usage accordingly
      
      Tuleap: #107
      Change-Id: I17211e54322d70bbfe18c28f06cf9967b9ef93d2
      2074c7fb
  2. 21 Sep, 2015 1 commit
    • Guillaume Roguez's avatar
      update Copyright header · 5236ab05
      Guillaume Roguez authored
      - remove OpenSSL exception
      - fix Savoir-faire Linux naming
      - fix common Author: representation
      
      Issue: #80663
      Change-Id: I6c3b2ca1ed48ed474a0ecd5a30fe793526e11b00
      5236ab05
  3. 28 Aug, 2015 1 commit
    • Guillaume Roguez's avatar
      ice: move IO thread per transport · 5edab08f
      Guillaume Roguez authored
      IO events were handled by a unique thread owned by IceTransportFactory.
      This patch changes that by creating a thread per IceTransport instance.
      
      This improves a bit (on multiple-threaded architectures at least)
      events handling as not all events handler run at the same speed
      (SIP events are slow, Media IOs need low overhead).
      
      Issue: #79692
      Change-Id: Ie742373176f9447a14286910e6af562427cecdbd
      5edab08f
  4. 10 Aug, 2015 1 commit
    • 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
  5. 29 Jul, 2015 1 commit
  6. 15 May, 2015 1 commit
    • Guillaume Roguez's avatar
      ice: implement TURN/STUN servers options · a0d2e366
      Guillaume Roguez authored
      This patch modifies the internal IceTransport API.
      We now use a IceTransportOptions to select ICE options.
      STUN/TURN servers are modified using this options struture.
      
      Refs #72663
      
      Change-Id: I35106000d803c1374f97ce89e7b895faf1e97b77
      a0d2e366
  7. 14 May, 2015 1 commit
  8. 30 Apr, 2015 1 commit
  9. 20 Mar, 2015 1 commit
  10. 10 Mar, 2015 1 commit
  11. 02 Mar, 2015 1 commit
  12. 23 Feb, 2015 1 commit
  13. 27 Jan, 2015 1 commit
    • Stepan Salenikovich's avatar
      daemon: add upnp support · 7649d5be
      Stepan Salenikovich authored
      New settings in daemon preferences to use UPnP, default false.
      Currently opens ports for SIP and ip2ip accounts and their calls.
      Opens ports negotiated by SDP sesssion.
      Tries to open ports for ICE candidates and adds ICE candidates
      with the public IP to help ICE negotiation.
      Added miniupnpc to contrib and patched to be able to generate just
      a static lib.
      Supports multiple clients on the same UPnP router. Will select a
      different port at random if the desired port is already taken by
      another client.
      
      Refs #63247
      Refs #63303
      
      Change-Id: I00ae79bc3a24d3e54513a6d299fd9b6a70bcc3c2
      7649d5be
  14. 21 Jan, 2015 2 commits
  15. 15 Jan, 2015 1 commit
  16. 09 Jan, 2015 1 commit
  17. 19 Dec, 2014 1 commit
  18. 17 Dec, 2014 1 commit
  19. 03 Dec, 2014 3 commits
  20. 02 Dec, 2014 3 commits