1. 08 Mar, 2019 1 commit
    • Jakub Adam's avatar
      agent: trickle ICE mode · a6112cec
      Jakub Adam authored
      In this mode, activated by setting "ice-trickle" property of a
      NiceAgent to TRUE, a component without a successful connectivity check
      will wait indefinitely for more remote candidates to come.
      nice_agent_peer_candidate_gathering_done() must be called after
      receiving the last remote candidate for the component to finally change
  2. 12 Feb, 2019 1 commit
  3. 29 Jan, 2019 2 commits
    • Olivier Crête's avatar
      turn: Allow lifetimes under 60s · 602d48c4
      Olivier Crête authored
      Don't set a timeout to the very far future if the lifetime sent  by the
      server is under 60s. Instead of doing "lifetime - 60", switch to lifetime/2.
    • Jakub Adam's avatar
      component_io_cb: Avoid potential deadlock · 047455fe
      Jakub Adam authored
      Don't unref NiceAgent while holding agent mutex. If it's the last
      reference, nice_agent_dispose() will try to acquire the mutex again and
  4. 22 Jan, 2019 1 commit
  5. 14 Jan, 2019 1 commit
  6. 27 Dec, 2018 7 commits
  7. 21 Dec, 2018 1 commit
    • Jakub Adam's avatar
      agent: Fix use of freed stream in nice_agent_dispose() · 9864f36b
      Jakub Adam authored
      nice_stream_close() calls agent_find_stream(), which iterates over
      agent->streams list.
      Therefore, when we're freeing agent->streams in a loop, we must also
      delete the respective GSList item from the list at the end of each
      iteration. Otherwise agent_find_stream() would stumble over already
      deleted NiceStream instance the next time it gets called.
      Fixes random crashes when running test-different-number-streams on
  8. 18 Dec, 2018 2 commits
  9. 14 Dec, 2018 2 commits
  10. 31 Oct, 2018 1 commit
    • Jakub Adam's avatar
      agent: check message length before extracting RFC4571 frame size · 5496500b
      Jakub Adam authored
      nice_socket_recv_messages() may return a NiceInputMessage of length = 0,
      so before attempting to read the RFC4571 header check the message really
      has at least sizeof (guint16) bytes of data.
      The bug's always been there, the previous commit only made it more
  11. 28 Oct, 2018 3 commits
  12. 21 Oct, 2018 3 commits
  13. 12 Jun, 2018 1 commit
    • Nicolas Dufresne's avatar
      Fix cast-function-type warning introduced in GCC 8 · 23b59268
      Nicolas Dufresne authored
      This is new warning introduced with GCC 8. This is being fixed by using appropriate function, like g_queue_free_full/g_list_free_full or by casting to GCallback before casting to the target function signature.
      Closes: #46
  14. 06 Jun, 2018 2 commits
  15. 23 Mar, 2018 10 commits
  16. 22 Mar, 2018 1 commit
  17. 28 Nov, 2017 1 commit
    • Youness Alaoui's avatar
      conncheck: handle alternate-server for turn relays differently · fb2f1f77
      Youness Alaoui authored
      If a relay gives us an alternate-server, we need to cancel and reset
      every candidate discovery attempt that uses the same server, to avoid
      ending up with one component on one server and the other component on
      another server (causing relay candidates with mismatched foundations).