using LiveStreamRecord to produce TS chunks

Hi,

I’ve seen there are new features in the live stream recorder, like the startRecordingSegmentByDuration method. This is very useful, but I can only figure out how to record MP4 files. I want to use Wowza as a stream segmenter, so I would need to record TS files (chunks). Is that possible in any way?

Thanks.

Hi,

This is not possible with live stream record. It will always produce mp4/flv files and not ts chunks.

Andrew.

Bummer… thank you, though…

Another short question, then. If I issue the command startSegmentByDuration, the first chunk is called chunk_test.mp4 and the following ones are called chunk_test_2013-07-15-14.31.01.731-EEST_1.mp4, in sequence, with the _1 incremented.

How do I get the first chunk to be called chunk_test_2013-07-15-14.31.01.731-EEST_0.mp4?

I have no problem with the naming scheme as it is, I just want the first chunk to follow it… The first chunk is called chunk_test.mp4, plain, and the rest have 2013-07-15-14.31.01.731-EEST_{%n} appended to the filename.

Bummer… thank you, though…

Another short question, then. If I issue the command startSegmentByDuration, the first chunk is called chunk_test.mp4 and the following ones are called chunk_test_2013-07-15-14.31.01.731-EEST_1.mp4, in sequence, with the _1 incremented.

How do I get the first chunk to be called chunk_test_2013-07-15-14.31.01.731-EEST_0.mp4?

Take a look at the ILiveStreamRecordFileVersionDelegate API in the HTTPLiveStreamRecord guide

Salvadore