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

List:       helix-server-cvs
Subject:    [Server-cvs] admin/web/build/mserver config_mpeg2ts.html,1.33,1.34
From:       tniu () helixcommunity ! org
Date:       2013-11-29 9:38:46
[Download RAW message or body]

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

Modified Files:
	config_mpeg2ts.html 
Log Message:


Synopsis
========
This CR fix bug:  
(HLXSRV-361) Helix Server V.15 stops creating segments (.ts) files, if you access a \
live stream before the Minimum Playlist Segments reaches the stated value. \
(http://jira.real.com/browse/HLXSRV-361) (HLXSRV-470) Helix Server to create playlist \
long playlist for live-seeking with generic HLS media players. \
(http://jira.real.com/browse/HLXSRV-470) (HLXSRV-164) Request: Generate a M3U8 \
playlist file before minimum segment value reached. \
(http://jira.real.com/browse/HLXSRV-164)

Branch : HEAD

Suggested Reviewer : Anyone

Description
===========
Repro Steps: 
1. Install Helix Server v15.02 On rhel5 or Win2k8 R2 

2. Open the Helix Administrator. 
    Scroll to Media Delivery ->HLS Setup 
    Ensure that Enable Segmentation is set to Yes. 
    Select /broadcast/ under Edit Source Path -> 
    Ensure that Enable Source Path is set to Yes. 
    Under the Minimum Playlist Segments, enter a value of 60 

3. Create an SLTA stream, send it to the same Helix server you installed in step 1. 
     i.e. 
# ./slta.sh 192.168.127.14 80 admin Avaya live.mp4 meet.mp4 

4. Go to realserver/Segments/HLS_TS/broadcast/live.mp4, Watch the number of .ts files \
grow to between 15-30 .ts files. 

5. Open Safari via an iPad, iPhone or via Vlc media player, playback the live stream. \
http://HelixServer/m3ugen/broadcast/live.mp4 

Actual:
moving to bug

Expected:
- The .m3u8 file is created even if the number of .ts files in it are less than the \
                number configured in Minimum Playlist Segments
- The .ts files continue to be created,
- The player plays the live stream via HLS 

If for any reason this is not possible or too difficult to implement then an \
alternative acceptable result would be: 

- The .ts files continue to be created
- As long as the number of .ts files is less than the number configured in Minimum \
                Playlist Segments, the playback request is rejected with a 404 error \
                message. 
- When the number of .ts files reaches the number configured in Minimum Playlist \
Segments, an .m3u8 file is created and future playback requests are responded with \
                200 OK and a successful playback.  
- In no case the mere attempt to play back a stream that is "not ready yet" should \
stop the creation of .ts files or make the stream anyhow inaccessible. 

My solution:
Add input label "Maximum Playlist Segments" on HLS set up page to control total \
number of segments. When segments number reaches "Minimum Playlist Segments", \
generates .m3u8 file, and then continue to update this .m3u8 file after a segment is \
done. when segments number reaches "Maximum Playlist Segments", delete the oldest \
segments and update .m3u8 file when a new segment is done. If want to ENABLE HLS Time \
Shifting, we need to set "Maximum Playlist Segments" less than "Minimum Playlist \
Segments".


Files Affected
==============
server/admin/web/build/server/config_mpeg2ts.html
server/admin/web/build/mserver/config_mpeg2ts.html
server/admin/web/src/srvprxy/config_mpeg2ts.html.wasm
datatype_rn/mpeg2/ts/filewriter/pub/ctsarchiver.h
datatype_rn/mpeg2/ts/filewriter/ctsarchiver.cpp
datatype_rn/mpeg2/ts/filewriter/playlistgen.cpp
server_rn/datatype/mpeg2ts/streamhandler.cpp


Test perform
================
Integration Tests:
N/A.

Performance Tests: 
N/A

QA Hints
========
None.


Index: config_mpeg2ts.html
===================================================================
RCS file: /cvsroot/server/admin/web/build/mserver/config_mpeg2ts.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- config_mpeg2ts.html	13 Nov 2013 08:21:10 -0000	1.33
+++ config_mpeg2ts.html	29 Nov 2013 09:38:43 -0000	1.34
@@ -1,733 +1,739 @@
-
-<HTML>
-<HEAD>
-
-<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 
-         <TITLE>HLS Setup</TITLE>
-
-<SCRIPT SRC="xblib.js"></SCRIPT>
-<SCRIPT SRC="string.js"></SCRIPT>
-<SCRIPT SRC="client.js"></SCRIPT>
-<SCRIPT SRC="results.js"></SCRIPT>
[...1441 lines suppressed...]
+}
+</SCRIPT>
+<TR>
+   <TD colspan="2" bgcolor="#E6E6E6" valign="middle" align="right">
+      <img src="images/spacer.gif"  BORDER="0" HEIGHT="17" HSPACE="0" \
NAME="IMG_DIRTY_APPLY" VSPACE="0" WIDTH="19"><input type="image" \
src="images/apply.gif" alt="Apply changes made to this page" name="Apply changes made \
to this page" value="Apply" border="0">&nbsp;<A HREF="javascript://" \
onclick="window.onLoad();"><img src="images/reset.gif"  ALT="Cancel un-applied \
changes" BORDER="0" HSPACE="0" VSPACE="0"></A> +   </TD>
+</TR>
+</TABLE>
+</FORM>
+<SCRIPT>
+   if ( isMac && isNav4 )
+   {
+      document.write( '<LAYER ID="MACFIX" BGCOLOR="#FFFFFF" WIDTH="476" HEIGHT="800" \
PAGEX="0" PAGEY="0" STYLE="position:absolute;"></LAYER>' ); +   }
+</SCRIPT>
+
+<DIV ID="DIV_DYNFORM" style="position:absolute;visibility:hidden"></DIV>
+</BODY>
+</HTML>
+


_______________________________________________
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