# SegmentDuration

The maximum duration of a record in the `SegmentedResult` or `SegmentedResultWithSource` track.

Media Server does not generate records in the `Result` or `ResultWithSource` tracks until an event has finished, because each record represents a complete event. The maximum duration of a record in the `SegmentedResult` and `SegmentedResultWithSource` tracks is limited to the value of this parameter, so these tracks provide a way to obtain results sooner but with similar accuracy to a `Result` track. When a record reaches the maximum duration, Media Server outputs the record and begins a new one with the same ID. This means that for every record in the `Result` track that exceeds the maximum duration, there will be two or more records in the `SegmentedResult` track.

Segmented results are useful when you want to obtain information about events before they finish. For more information about the tracks that are produced by analysis engines, refer to the Media Server Administration Guide.

Type: | Time duration The value of this parameter is a time duration. Specify the duration in the following format:
         1days 2hours 3minutes 4seconds 500milliseconds 600microseconds
You can omit any of the individual durations when they are not required:
         4seconds 500milliseconds
You can also shorten the string by abbreviating the units to their first letter (milliseconds abbreviates to ms, microseconds to us):
         4s 500ms
The following are all equivalent:
         1minute 3seconds
         1m 3s
         63s
To specify an infinite duration, use the value `Infinite`.
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `SegmentDuration=5s`
See Also: |

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm