Skip to content
  • Olivier Crête's avatar
    SPECIFIC: Allow creating a GIOStream with a non-reliable agent · f784e5c8
    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 ri...
    f784e5c8