The implementation will allow you to create a VOD only playlist stream like
shown below:
if (appScope == conn.getScope()) {
serverVODStream = StreamUtils.createServerVODStream(appScope,
"live0");
SimplePlayItem item = new SimplePlayItem();
item.setName("on2_flash8_w_audio.flv");
serverVODStream.addItem(item);
item = new SimplePlayItem();
item.setName("Spiderman3_trailer_300.flv");
serverVODStream.addItem(item);
serverVODStream.setRepeat(true);
//serverStream.setRandom(true);
serverVODStream.start();
}
All the patches and how to apply can be found in JIRA:
http://jira.red5.org/browse/SN-28
Again this is unstable code, but hope it can be useful to community. Will
try to refactor.
--
C is forever.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org