[Bug 796361] Answer of RTSP server is (very) often not sent out

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 23 17:43:57 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796361

--- Comment #3 from Marie Maurer <meinemailingliste2 at online.de> ---
One step deeper:

static GstRTSPMedia *
find_media (GstRTSPClient * client, GstRTSPContext * ctx, gchar * path,
    gint * matched)
{
...
      /* prepare the media */
      if (!gst_rtsp_media_prepare (media, thread))
        goto no_prepare;
...
no_prepare:
  {
    GST_ERROR ("client %p: can't prepare media", client);
    send_generic_response (client, GST_RTSP_STS_SERVICE_UNAVAILABLE, ctx);
    g_object_unref (media);
    ctx->media = NULL;
    g_object_unref (factory);
    ctx->factory = NULL;
    return NULL;
  }
}

There is a send_generic_response inside with GST_RTSP_STS_SERVICE_UNAVAILABLE.
I see a "Service Unavailable",
but not immediately, but somewhere later (perhaps when a new message is
received). Some of the unrefs too early? Some of the variables which are set to
NULL too early. This entry must be continued by someone who has more knowledge
in this area and the handling behind it.

-- 
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