1. 15 Apr, 2014 1 commit
    • Philip Withnall's avatar
      agent: Fix GSource dispatches for UDP NiceOutputStreams · 479c2ee3
      Philip Withnall authored
      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.
  2. 06 Mar, 2014 1 commit
  3. 20 Feb, 2014 1 commit
  4. 31 Jan, 2014 3 commits
    • Olivier Crête's avatar
      inputstream: Make the GSource hold a weak ref on the agent · ebb787e2
      Olivier Crête authored
      This also means that it can't have the component ref. Also make the
      cancellable a child source of this GPollableInputStream one
    • Philip Withnall's avatar
    • Philip Withnall's avatar
      agent: Add support for GIO-style I/O streams · 949f979a
      Philip Withnall authored
      This adds three new classes:
       • NiceIOStream
       • NiceInputStream
       • NiceOutputStream
      which allow wrapping a single stream/component pair in an I/O stream
      which can be used with the standard GIO functions.
      The streams are constructed as wrappers around a NiceAgent, with changes
      to the NiceAgent’s properties affecting all instantiated streams.
      Streams are only supported for reliable connections.
      If the NiceAgent stream which underlies a NiceInputStream,
      NiceOutputStream or NiceIOStream is removed, the I/O stream is marked as
      This is based on work originally done by Youness Alaoui