[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] rtsp rtspclnt.cpp,1.192,1.193
From:       jagmeet () helixcommunity ! org
Date:       2006-04-20 10:03:14
[Download RAW message or body]

Update of /cvsroot/protocol/rtsp
In directory cvs02.internal.helixcommunity.org:/tmp/cvs-serv8122

Modified Files:
	rtspclnt.cpp 
Log Message:
Fix for Bug# 4915(Helix Client cannot playback specific SDP file) - Issue fixed by \
modifing the code to generate a fully qualified URL including the \
pStreamInfo->m_streamControl in the SETUP request.

Index: rtspclnt.cpp
===================================================================
RCS file: /cvsroot/protocol/rtsp/rtspclnt.cpp,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- rtspclnt.cpp	30 Mar 2006 21:54:15 -0000	1.192
+++ rtspclnt.cpp	20 Apr 2006 10:03:09 -0000	1.193
@@ -9041,6 +9041,15 @@
         {
             // this is a=control in session description...
             ret = m_headerControl;
+            if(!pStreamInfo->m_streamControl.IsEmpty())
+            {
+                // we append a '/' only if it isn't already present as a double '/' \
can cause a problem +                if(ret.GetAt(ret.GetLength() - 1) != '/')
+                {
+                    ret += "/";
+                }
+                ret += pStreamInfo->m_streamControl;
+            }
         }
         else
         {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic