mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
realmedia: add special Real header to DESCRIBE message only for Real
servers Add headers that are specific to real only if a real server had been detected by the OPTIONS message.
This commit is contained in:
parent
3743c83ace
commit
8258daf87c
1 changed files with 9 additions and 9 deletions
|
@ -118,6 +118,7 @@ rtsp_ext_real_before_send (GstRTSPExtension * ext, GstRTSPMessage * request)
|
|||
}
|
||||
case GST_RTSP_DESCRIBE:
|
||||
{
|
||||
if (ctx->isreal) {
|
||||
gst_rtsp_message_add_header (request, GST_RTSP_HDR_BANDWIDTH,
|
||||
DEFAULT_BANDWIDTH);
|
||||
gst_rtsp_message_add_header (request, GST_RTSP_HDR_GUID,
|
||||
|
@ -127,7 +128,6 @@ rtsp_ext_real_before_send (GstRTSPExtension * ext, GstRTSPMessage * request)
|
|||
"Linux_2.4_6.0.9.1235_play32_RN01_EN_586");
|
||||
gst_rtsp_message_add_header (request, GST_RTSP_HDR_MAX_ASM_WIDTH, "1");
|
||||
gst_rtsp_message_add_header (request, GST_RTSP_HDR_LANGUAGE, "en-US");
|
||||
if (ctx->isreal) {
|
||||
gst_rtsp_message_add_header (request, GST_RTSP_HDR_REQUIRE,
|
||||
"com.real.retain-entity-for-setup");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue