mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
Add a little comment
Add some comment about the content-base header.
This commit is contained in:
parent
41dd6399a6
commit
082099005d
1 changed files with 1 additions and 0 deletions
|
@ -518,6 +518,7 @@ handle_describe_response (GstRTSPClient *client, GstRTSPUrl *uri, GstRTSPMessage
|
|||
|
||||
gst_rtsp_message_add_header (&response, GST_RTSP_HDR_CONTENT_TYPE, "application/sdp");
|
||||
|
||||
/* content base for some clients that might screw up creating the setup uri */
|
||||
str = g_strdup_printf ("rtsp://%s:%u%s/", uri->host, uri->port, uri->abspath);
|
||||
gst_rtsp_message_add_header (&response, GST_RTSP_HDR_CONTENT_BASE, str);
|
||||
g_free (str);
|
||||
|
|
Loading…
Reference in a new issue