If you don’t specify chunkLength in the createHLSStream command, it will default to 10 seconds. As i said above, i would recommend that you explicitly add that parameter with a value of 5 seconds:
createHLSStream localstreamnames=myStream chunkLength=5 playlistLength=4 playlisttype=rolling cleanupdestination=1 chunkonidr=0 targetFolder=/var/www/
for more detail on this command, or to get the definitions for each of these parameters, see the API definition document: http://www.evostream.com/evo_evals/API%20Definition.pdf
Bryan