[Bug 774768] [rtsp] error : duplicated cotent-length error.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 21 07:56:54 UTC 2016


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

--- Comment #3 from Sangkyu Park (sangkyup) <sk1122.park at samsung.com> ---
in message_to_string 

1) first
    /* append headers */
    gst_rtsp_message_append_headers (message, str);

2) second
    len = g_strdup_printf ("%d", message->body_size);
    g_string_append_printf (str, "%s: %s\r\n",
        gst_rtsp_header_as_text (GST_RTSP_HDR_CONTENT_LENGTH), len);

I think, first time is not necessary. So I removed the content-length in
message.
You can reproduce as following :

1. set body
2. set content length
3. send the rtsp message

Capture tcpdump for the packet and check.
you can check the duplicated issue in real rtsp text

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