Stream events are used to synchronise an application with an MPEG stream.
There are two types of stream events, Do it now events and NPT events. NPT events require an NPT stream that is used for synchronising an application with NPT of a media clip and they require the carousel to be synchronised with an AV stream. Do it now events are fired manually and do not require an NPT stream. The timestamp generator feature is also supported with DIN events.
To edit stream events for a carousel, righ-click on a carousel in the carousel repository and select Edit Stream Events from the pop-up menu. The stream event editor will open (see figure 7.1).
To add a stream event you have to create a stream object for the event and add an event to the object. One stream object can contain several stream events.
To add a stream object click Add object and enter a name for the object. The name must be unique in the carousel.
To add an event to a stream object, click Add event. Enter a name for the event (it must be unique in the stream object) and select a type for the stream event, either din (Do it now) or NPT.
If you add an NPT event you can also define one or more NPT times when it will be fired. Click ADD NPT to do that.
If "Do it now" option is selected, it is possible to type a value in "Sending period in seconds" edit field. If some value is typed for this field, and "Start sending event" is selected, the Playout server
starts to send DIN events with timestamp (UNIX Epoch time) repeatedly with given interval. It can be stopped by selecting "Stop sending event".
Changes in carousel stream events will be applied when the carousel is restarted.
Figure 7.1: Stream event editor
To send a "Do it now" stream event for a carousel, right click on a carousel in the carousel repository and select Send DIN Stream Event. Select an event to fire from the drop down box and set a payload for it, if necessary.
Payload can be loaded from a file or entered to the text area. Click Send event to fire the selected event. If no streams are running for this carousel, an error message is shown.
Please refer to Icareus Playout API documentation to learn how to integrate to Icareus Playout and trigger stream-events via API.
Icareus Playout can generate an NPT (Normal Play Time) stream for testing NPT stream events. To generate an NPT stream do the following: