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

List:       helix-client-cvs
Subject:    [Client-cvs] encodesvc/include ihxtconstants.h,1.85.2.22,1.85.2.23
From:       gwang () helixcommunity ! org
Date:       2013-06-07 7:55:34
[Download RAW message or body]

Update of /cvsroot/client/encodesvc/include
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv23337

Modified Files:
      Tag: PRODUCER_14_0_RN
	ihxtconstants.h 
Log Message:
ynopsis
========
This CR is a update of porting HLS frome server to producer.

Branch : PRODUCER_14_0_RN 

Reviewered by : James Li, Yuxin

Description
============
   When we write the HLS ouput as a file, Our writing logic depend on the input file
durations, but it is sadly that producer don't have this parameter pass to rmwriter.
We just get the input file duration at the stage of "InputReady" and pass it to file
destination which represent as the "rmWriter".
   In another hands, HLS output need input samples sorted by its timestamps.otherwise
it will not segment in the right way, we just modify the interleave filter and make
it able to sort samples by its timestamps when it got a parameter named "MaxInterleaveOffset"
set to Zero.


Files affected:
==============
# Sort the samples by its timestamps
/client/encodesvc/plugins/transform/interleaver/interleaveractor.cpp
# pass MaxInterleaveOffset paramete
/client/encodesvc/plugins/transform/interleaver/interleaveragent.cpp
/client/encodesvc/plugins/transform/interleaver/interleaveragent.h
/client/encodesvc/engine/encpipeline/outputpipeline.cpp

# pass duration to destinations
/client/encodesvc/engine/encsession/encodingjob.cpp
/client/encodesvc/include/ihxtconstants.h

Testing Performed:
================

Unit Tests: 
   1  vod test: Using a  file as input stream
      1) Testing one bitrate and multi-bitrate, played with iphone iso6.0
      2) Set using Random key, Helix Media server as http server. play with iphone iso6.0
      3) Set EnableKeyframe. using elecard analyze TS segment, IDR frame as the first frame
   2  live test: Using camera  as input stream.
      1) Testing one bitrate and multi-bitrate, played with iphone iso6.0
      2) Set using Random key, Helix Media server as http server. play with iphone iso6.0
      3) Set EnableKeyframe. using elecard analyze TS segment, IDR frame as the first frame
      4) Testing Push to CDN using an self design File Server, works with Helix media server.
      5) capture packet pass to AkamaiCDNs.
NOTICE: when we used a file as a input, we need to choose some files which has a duration
above 5min or even longger.
Leak Tests: None
Performance Tests: N/A

Platforms Tested: win32-i386-vc9

Builds Verified: win32-i386-vc9

QA Hints
no



Index: ihxtconstants.h
===================================================================
RCS file: /cvsroot/client/encodesvc/include/ihxtconstants.h,v
retrieving revision 1.85.2.22
retrieving revision 1.85.2.23
diff -u -d -r1.85.2.22 -r1.85.2.23
--- ihxtconstants.h	5 Jun 2013 11:52:32 -0000	1.85.2.22
+++ ihxtconstants.h	7 Jun 2013 07:55:26 -0000	1.85.2.23
@@ -1055,6 +1055,7 @@
 static const char kPropLogicalStream[]        = "logicalStream";
 static const char kPropFlagRulePairs[]        = "flagRulePairs";
 static const char kPropNumofLogicalStream[]   = "StreamCount";
+static const char kPropSortbyTimestamp[]      = "SortByTimestamp";
 // ASM config 
 
 enum LOGICAL_MIME_TYPE


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

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