# StreamTimeout

The maximum amount of time that Media Server waits for the next record from a stream. If a record is not received from Milestone XProtect within this time, Media Server stops ingesting the source.

TIP: If a timeout occurs but you started processing with the Persist action parameter set to `TRUE`, Media Server will attempt to reconnect to Milestone XProtect.

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
         1m 3s
         63s
Default: | 60s
Required: | No
Configuration Section: | TaskName
Example: | `StreamTimeout=30s`
See Also: |

_FT_HTML5_bannerTitle.htm