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: |
![]() 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 To specify an infinite duration, use the value |
Default: | |
Required: | No |
Configuration Section: | TaskName |
Example: | SegmentDuration=5s
|
See Also: |