1. 20 May, 2022 1 commit
  2. 09 May, 2022 1 commit
  3. 05 May, 2022 2 commits
  4. 03 May, 2022 4 commits
  5. 20 Apr, 2022 1 commit
    • Olivier Crête's avatar
      agent: Hold ref while doing async close · 41ac7386
      Olivier Crête authored
      It's possible that the callback will be called synchronously during the
      close function, in this case, we need to be ready to the last reference
      to the agent to be dropped in this callback.
      
      This fix was suggested by Fabrice Bellet
      
      Fixes #153
      41ac7386
  6. 06 Apr, 2022 1 commit
    • Johan Sternerup's avatar
      Don't try to use link-local addresses outside local network · 526eec8b
      Johan Sternerup authored
      If we have gathered a host IP-address that is link-local we should
      never try to use it for anything else than trying to match it with
      another link-local address. Some routers seem to have problems with
      traffic from link-local addresses destined at external IP-addresses.
      By definition link-local addresses should stay local so there's no
      reason to access STUN/TURN from it or try to form a candidate with
      another address that is not link-local.
      526eec8b
  7. 21 Mar, 2022 2 commits
    • Nirbheek Chauhan's avatar
      agent: Fix warning about required glib version · 64271494
      Nirbheek Chauhan authored
      ../agent/discovery.c: In function ‘on_refresh_remove_timeout’:
      ../agent/discovery.c:203:13: warning: Not available before 2.60
        203 |       G_GNUC_FALLTHROUGH;
            |             ^~~~~~~~~~~~~
      
      ../agent/conncheck.c: In function ‘priv_turn_allocate_refresh_retransmissions_tick_agent_locked’:
      ../agent/conncheck.c:1656:13: warning: Not available before 2.60
       1656 |       G_GNUC_FALLTHROUGH;
            |             ^~~~~~~~~~~~~
      
      The comment /* fall through */ is enough to cause GCC and Clang to not
      emit the implicit-fallthrough warning.
      64271494
    • Nirbheek Chauhan's avatar
      agent: Convert g_print() to nice_debug() · cccdabfd
      Nirbheek Chauhan authored
      This was probably added by mistake.
      cccdabfd
  8. 26 Jan, 2022 1 commit
  9. 26 Nov, 2021 4 commits
  10. 22 Nov, 2021 12 commits
  11. 15 Nov, 2021 1 commit
    • Nirbheek Chauhan's avatar
      meson: Add agent include dir to uninstalled pkgconfig file · 5123cea3
      Nirbheek Chauhan authored
      Meson picks up the includedirs from the library target that it is
      building the pkgconfig file for. Since libnice's headers are split
      into the nice/ and agent/ subdirs, we need to add agent/ to
      include_directories: so that it's automatically added to the
      uninstalled pkgconfig file by Meson.
      5123cea3
  12. 03 Nov, 2021 1 commit
  13. 02 Nov, 2021 8 commits
  14. 01 Nov, 2021 1 commit
    • Fabrice Bellet's avatar
      agent: ensure suceeded and discovered pairs fail the same time · 01e2de64
      Fabrice Bellet authored
      This patch ensures that related succeeded-discovered pairs change to
      state failed simultaneously, to avoid leaving dangling pointers if one
      is freeed while the other is still in the conncheck list. Such
      transition is very rare, and only occurs in regular nomination mode,
      when the network conditions change between the time the pair is
      initially discovered and the time it is rechecked with the use-candidate
      flag.
      01e2de64