1. A streaming media server for providing a plurality of media streams comprising: a) a cue generator for receiving an event detected signal and configuration information and based thereon for generating a cue having a predefined structure; wherein the cue can be used by a stream processing application (SPA) to receive information concerning an event whose timing is important to the receiver.