1. 22 Jun, 2017 1 commit
  2. 12 Jun, 2017 1 commit
    • Fabrice Bellet's avatar
      conncheck: implement ice regular nomination method · 0636f9ad
      Fabrice Bellet authored
      This patch implements Regular Nomation as described in RFC5245
      8.1.1.1. The controlling agent lets valid pairs accumulate, and
      decides which pair to recheck with the use-candidate attribute set.
      priv_mark_pair_nominated() follows 7.2.1.5, to update the nominated
      pair when acting as a STUN server, and
      priv_map_reply_to_conn_check_request() implements 7.1.3.2.4 to
      update the nominated pair when acting as a STUN client. A new
      property is also added to the agent to control the nomination
      mode, which can be regular of aggressive, with default value
      set to aggressive.
      
      Two new flags are introduced in the CandidateCheckPair structure:
      
      - use_candidate_on_next_check indicates the STUN client to add the
        use-candidate attribute when the pair will be checked. At this
        time, the nominated flag has not been set on this pair yet.
      
      - mark_nominated_on_response_arrival indicates the STUN server
        to nominate the pair when its succesfull response to a
        previous triggered check will arrive (7.2.1.5, item #2)
      
      Differential Revision: https://phabricator.freedesktop.org/D811
      0636f9ad
  3. 08 Jun, 2017 1 commit
    • Fabrice Bellet's avatar
      interfaces: ignore predefined network interfaces · b4abda09
      Fabrice Bellet authored
      Some interfaces, like the one managed by libvirtd to provide a network
      bridge to locally hosted virtual machines, can be completely ignored
      when gathering ICE candidates. The motivation for adding this
      possibility is that, ignoring them doesn't remove capabilities, and
      improves the overall speed of the connection check method, by reducing
      the number of pairs to be tested. This patch adds the possibility to
      define such interfaces in the configuration script.
      
      Differential Revision: https://phabricator.freedesktop.org/D948
      b4abda09
  4. 28 May, 2017 1 commit
    • Fabrice Bellet's avatar
      conncheck: implement ice regular nomination method · 07bbffd0
      Fabrice Bellet authored
      This patch implements Regular Nomation as described in RFC5245
      8.1.1.1. The controlling agent lets valid pairs accumulate, and
      decides which pair to recheck with the use-candidate attribute set.
      priv_mark_pair_nominated() follows 7.2.1.5, to update the nominated
      pair when acting as a STUN server, and
      priv_map_reply_to_conn_check_request() implements 7.1.3.2.4 to
      update the nominated pair when acting as a STUN client. A new
      property is also added to the agent to control the nomination
      mode, which can be regular of aggressive, with default value
      set to aggressive.
      
      Two new flags are introduced in the CandidateCheckPair structure:
      
      - use_candidate_on_next_check indicates the STUN client to add the
        use-candidate attribute when the pair will be checked. At this
        time, the nominated flag has not been set on this pair yet.
      
      - mark_nominated_on_response_arrival indicates the STUN server
        to nominate the pair when its succesfull response to a
        previous triggered check will arrive (7.2.1.5, item #2)
      
      Differential Revision: https://phabricator.freedesktop.org/D811
      07bbffd0
  5. 24 May, 2017 1 commit
    • Fabrice Bellet's avatar
      interfaces: ignore predefined network interfaces · 4f5b991e
      Fabrice Bellet authored
      Some interfaces, like the one managed by libvirtd to provide a network
      bridge to locally hosted virtual machines, can be completely ignored
      when gathering ICE candidates. The motivation for adding this
      possibility is that, ignoring them doesn't remove capabilities, and
      improves the overall speed of the connection check method, by reducing
      the number of pairs to be tested. This patch adds the possibility to
      define such interfaces in the configuration script.
      
      Differential Revision: https://phabricator.freedesktop.org/D948
      4f5b991e
  6. 03 Apr, 2017 5 commits
  7. 01 Apr, 2017 1 commit
  8. 31 Mar, 2017 2 commits
  9. 03 Jun, 2016 1 commit
    • Olivier Crête's avatar
      SPECIFIC: Allow creating a GIOStream with a non-reliable agent · 418bfbcb
      Olivier Crête authored
      Only usable with the patches from
      https://bugzilla.gnome.org/show_bug.cgi?id=697907
      
      SPECIFIC: agent: Fix GSource dispatches for UDP NiceOutputStreams
      
      The GSource created by g_pollable_output_stream_create_source() on a
      NiceOutputStream would never have been dispatched, due to not having any
      poll events (or anything else); it only works for TCP streams because of
      a GCancellable child source which is triggered by the TCP code.
      
      Fix that by making ComponentSource suitable for G_IO_IN and G_IO_OUT
      again, and adding that as a child source for UDP output stream GSources.
      
      agent: SPECIFIC: Drop support for reliable streams
      
      libnice should not be implementing pseudo-TCP support internally — it
      should provide the PseudoTcpSocket as a separate API which user code can
      use if it needs. If this were to be upstreamed, a deprecation path would
      have to be written, continuing to support the old API. However, that
      would take too long, so this commit just rips it all out.
      
      This commit *must not* be upstreamed.
      
      https://phabricator.collabora.co.uk/T447
      
      agent: Add nice_agent_get_socket() to return a GDatagramBased
      
      TODO: Needs documentation and testing.
      
      This bumps the GLib dependency to 2.46 for GDatagramBased.
      
      agent: Remove nice_agent_get_io_stream()
      
      It has been replaced by nice_agent_get_socket().
      
      TODO: This needs documenting and testing.
      
      TODO: This should *not* go upstream without turning it into a
      deprecation-fest.
      418bfbcb
  10. 03 Dec, 2015 1 commit
  11. 04 Sep, 2015 1 commit
  12. 01 Jun, 2015 1 commit
  13. 28 Apr, 2015 2 commits
  14. 23 Apr, 2015 2 commits
  15. 20 Apr, 2015 3 commits
  16. 28 Mar, 2015 2 commits
  17. 27 Mar, 2015 1 commit
  18. 29 Jan, 2015 5 commits
  19. 02 Jan, 2015 1 commit
    • Philip Withnall's avatar
      docs: Use gtk-doc no-tmpl mode · d1e961d3
      Philip Withnall authored
      Templated mode has been deprecated for a long time and will be removed
      in future versions of gtk-doc. Switch to no-tmpl mode for faster
      documentation builds and future-proofness.
      
      This does not bump our gtk-doc dependency, since gtk-doc 1.9 supported
      no-tmpl mode.
      d1e961d3
  20. 05 Nov, 2014 1 commit
  21. 09 Oct, 2014 3 commits
  22. 24 Jul, 2014 1 commit
  23. 16 Jul, 2014 1 commit
  24. 07 Jul, 2014 1 commit
    • Philip Withnall's avatar
      build: Add GObject introspection support · 0388646b
      Philip Withnall authored
      This bumps our autoconf requirement to 2.62 (from 2.59c) and disables
      automake portability warnings.
      
      It does not introduce a hard dependency on gobject-introspection; but if
      available, it requires version 1.30.0. Support can be enabled with
      --enable-introspection, and is required to make distcheck.
      
      The generated introspection file has not been checked thoroughly, and
      may expose internal symbols. A lot of new annotations are needed to make
      many of the symbols usable.
      0388646b