Hi,

Question:
How to use ILivePlayer segment duration setter setSegmentDuration(long value)?

Assume we want to record by duration.

We want to set all recoder properties via getters/setters.

final ILiveStreamRecord recorder = new LiveStreamRecorderFLV();
recorder.init(this.mAppInstance);
recorder.setRecordData(true);
recorder.setStartOnKeyFrame(true);
recorder.setVersionFile(true);

recorder.setSegmentDuration(3 * 60 * 1000);
Now there is a question.

We've alredy set a duration property.

Do we need to use
recorder.startRecordingSegmentByDuration(stream, null, null, 3 * 60 * 1000);
or simply call to
recorder.startRecording(stream, false);
any help appreciated,
Thanks