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, see Analysis Task Output Tracks.
| Type: |
Time duration
The value of this parameter is a time duration. Specify a value using one or more of the following units: days d
hours h
minutes m
seconds s
milliseconds ms
microseconds us
For example, all of the following are equivalent: 1minute 3seconds To specify an infinite duration, use the value |
| Default: | |
| Required: | No |
| Configuration Section: | TaskName |
| Example: | SegmentDuration=5s
|
| See Also: |