summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Ivanov <ivnik@mail.ru>2009-12-25 14:22:23 (GMT)
committerWim Taymans <wim@metal.(none)>2009-12-25 14:22:23 (GMT)
commit92eb244215911399d487fd97dcdbb363bfc7c431 (patch)
tree8e3ee6956c35b23bb0cd3e821544c84b5b957c1b
parent3d7610b03303efcf241b458c34d647eb60d8c849 (diff)
sdp: make server work better when behind a proxy
-rw-r--r--gst/rtsp-server/rtsp-sdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-sdp.c b/gst/rtsp-server/rtsp-sdp.c
index 264168a..2a284c3 100644
--- a/gst/rtsp-server/rtsp-sdp.c
+++ b/gst/rtsp-server/rtsp-sdp.c
@@ -47,6 +47,7 @@ gst_rtsp_sdp_from_media (GstRTSPMedia *media)
gst_sdp_message_add_time (sdp, "0", "0", NULL);
gst_sdp_message_add_attribute (sdp, "tool", "GStreamer");
gst_sdp_message_add_attribute (sdp, "type", "broadcast");
+ gst_sdp_message_add_attribute (sdp, "control", "*");
rangestr = gst_rtsp_range_to_string (&media->range);
gst_sdp_message_add_attribute (sdp, "range", rangestr);
g_free (rangestr);