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

List:       helix-server-cvs
Subject:    [Server-cvs] protocol/rtsp crtspbase.cpp,1.81,1.82
From:       jzeng () helixcommunity ! org
Date:       2010-07-16 21:16:25
Message-ID: 201007162116.o6GLG5NH007666 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/protocol/rtsp
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv32049/protocol/rtsp

Modified Files:
	crtspbase.cpp 
Log Message:
Synopsis
============
Bug 261856:  RNKK: Operation of the server when PAUSE/PLAY action using QuickTime Player w/ Book
Marking URL
Branches:  head, SERVER_14_RN
Suggested Reviewer: Chytanya 

Description
===========
For quicktime player we need to add the bookmark value and range start together to get the correct
starting point.

The behavior is defined by UAS.ClientCapabilities.AdditiveBookmarkedRange.  When it is true, we add
the bm value and range start.

Files Affected
==============
server/protocol/rtsp/crtspbase.cpp,v
server/protocol/rtsp/pub/crtspbase.h,v
server/qos/core/pub/qos_cfg_names.h,v

Testing Performed
================= 

Unit Tests: 
None. 

Integration Tests: 
verify with qt and real players.

Leak Tests: 
None. 

Performance Tests: 
- None 

Platforms Tested: win32-i386-vc7
Build verified: win32-i386-vc7 







Index: crtspbase.cpp
===================================================================
RCS file: /cvsroot/server/protocol/rtsp/crtspbase.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- crtspbase.cpp	6 May 2010 23:09:56 -0000	1.81
+++ crtspbase.cpp	16 Jul 2010 21:16:23 -0000	1.82
@@ -374,6 +374,7 @@
     m_pProfileConfigurator(NULL),
     m_nBookmarkType(-1),
     m_nBookmarkValue(-1),
+    m_bAdditiveBMRange(FALSE),
     m_bIsCloaked(FALSE),
     m_szPacketFormat(NULL),
     m_bSessionCreatedOnDesc(FALSE)
@@ -1334,9 +1335,17 @@
 	    m_nBookmarkType = lTemp;
 	}
         else
+        {
             m_nBookmarkType = 1;
     }
 
+        if(SUCCEEDED(m_pProfileConfigurator->GetConfigInt(QOS_CFG_CC_ADDITIVE_BOOKMARK_RANGE, lTemp)))
+        {
+            m_bAdditiveBMRange = (lTemp > 0);
+        }
+        
+    }
+
     /*
      * bookmark type == 0
      *    ignore all bookmarking query params


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

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