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

List:       helix-server-cvs
Subject:    [Server-cvs] admin/web/build/mserver config_drm.html, 1.1.2.2, 1.1.2.3
From:       packard () helixcommunity ! org
Date:       2012-05-16 14:24:42
[Download RAW message or body]

Update of /cvsroot/server/admin/web/build/mserver
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv2565/admin/web/build/mserver


Modified Files:
      Tag: SERVER_14_3_VERIMETRIX_HLS_LR
	config_drm.html 
Log Message:
Synopsis
========
DRM HLS LR implementation, version 2(fix serval bugs)
Branches: SERVER_14_3_VERIMETRIX_HLS_LR 

suggest reviewer: Xiaocheng Li


Description
===========
Feedback from QA test result.
1.When the server response error code like 301, 303, 401 or 404, the server will \
always do HeartBeat Test and can not work at all. You can check the attached log for \
details. 2. We need to use second instead of millisecond for the timeout variable.
3. Even I set “EnableRandomKeyWhenFail” to 0, the live feeds will still use random \
key to encrypt segments when they failed to get verimatrix key. The right behavior is \
the HMS stop segmenting and report error in the rmerror.log. 4. When I set resource \
id range 10000~10001, there should be 2 resource id available(10000 and 10001), but \
in fact, the first live feed can get resource id and then get verimatrix keys without \
problem. But the second live feed cannot get resource id and no segment at all. (I \
enabled random key in this case).


Solution
===========
1.
modify httpfsys, is use VCAS, some locks is disabled.
2,3,4
modify configure file interpretor and admin page.
If VCAS is used, when resource-id is used up, we will reject new request, no matter \
whether “EnableRandomKeyWhenFail” is set. error log is "VCAS is enabled but fail to \
get cfg info or resource-id is used up"


Files Affected
==============
server_rn/common/util/drmutil.cpp
server_rn/datatype/mpeg2ts/streamhandler.cpp
filesystem/http/httpfsys.cpp
filesystem/http/httpfsys.h

Testing Performed
=================
Test with Helix Server and iPhone

Index: config_drm.html
===================================================================
RCS file: /cvsroot/server/admin/web/build/mserver/Attic/config_drm.html,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- config_drm.html	9 May 2012 12:40:24 -0000	1.1.2.2
+++ config_drm.html	16 May 2012 14:24:39 -0000	1.1.2.3
@@ -63,7 +63,7 @@
 
 	new PropObj( 'EnableKeyServerSSL', "0", false, false,  null, null, "int", "Enable \
SSL for Verimatrix Key Server" ),  
-	new PropObj( 'KeyServerRequestTimeout', "10000", false, false,  null, null, "int", \
"Verimatrix Server Request Timeout" ), +	new PropObj( 'KeyServerRequestTimeout', \
"10", false, false,  null, null, "int", "Verimatrix Server Request Timeout" ),  
 	new PropObj( 'EnableRandomKeyWhenFail', "1", false, false,  null, null, "int", \
"Enable random key when Verimatrix Server connection failed" ),  
@@ -101,13 +101,18 @@
 
 {
 
-	if ( ! checkPort( getCtrlValue( theForm.Range0 ), getCtrlValue( theForm.Range1 ) ) \
) +	if ( ! checkPort( getCtrlValue( theForm.Range0 ), 
+
+					  getCtrlValue( theForm.Range1 ) ) )
 
 		return false ;
 
 	setCtrlValue( theForm.ResourceIDRange, 
+
 		( ("" == getCtrlValue( theForm.Range0 )) ? "" :
+
 			getCtrlValue( theForm.Range0 ) + "-" + 
+
 			getCtrlValue( theForm.Range1 ) ) );
 
 	return true;


_______________________________________________
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