[Bug 710850] New: gstrtspconnection: force blocking tls handshaking

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 25 03:02:07 CEST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=710850
  GStreamer | gst-plugins-base | 1.2.0

           Summary: gstrtspconnection: force blocking tls handshaking
    Classification: Platform
           Product: GStreamer
           Version: 1.2.0
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aleix at oblong.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


glib and glib-networking 2.38.

Problem found while testing git version of gst-rtsp-server. The server hangs.

Currently, gst_rtsp_source_dispatch_read performs all reads non-blocking.

The handshaking happens implicitly in the first read and as we are
non-blocking, the handshaking happens asynchronously in a separate thread.

As we are handshaking g_pollable_input_stream_read_nonblocking will return
G_IO_ERROR_WOULD_BLOCK.

gst_rtsp_source_dispatch_read is not called anymore as the RTSP client has
already send the data and is waiting for an answer.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list