# Event Stream Processing with Documents

Event stream processing can be used to discover combinations or sequences of events that occur in video. If you are processing images or documents you can use event stream processing to determine when interesting records occur on the same page.

NOTE: The `AndThen`, `AndThenAny`, and `AndNotThen` tasks are not supported for image and document processing.

When you process images and documents, the ESP time interval parameters are ignored. Instead, Media Server considers that records are related if they are related to the same page of an image or document.

_FT_HTML5_bannerTitle.htm