How the Zixi ESAM Agent Works

Content Switching
The content switching component of the agent leverages the Broadcaster’s redirect_client.json API call to switch the input connected to an output regardless of input or output type. To adhere to scheduling requirements, Zixi employs multiple types of switches as follows:
- When switching off the source that reported the SCTE message that triggered the switch, the broadcaster will search for the PTS within that stream before switching.
- When switching from a different source to the source that reported the SCTE that triggered the switch (typical in a blackout workflow), the broadcaster will search the upcoming source for the PTS.
- If neither situation is applicable, the broadcaster will attempt to search for PTS within the upcoming feed (assuming streams are synchronized in that circumstance). If PTS is not found, it will switch after the pre-defined timeout period. All switching is seamless, meaning the broadcaster will wait for an i-frame (which generally coincides with a SCTE message’s defined PTS regardless)
SCTE Manipulation
- The SCTE Manipulation component of the agent interfaces with an external POIS server. The agent sends all relevant SCTE messages to the external decisioning service as base64 and receives back an action to take on existing stream SCTE and updated SCTE payload in base64 if applicable. Actions are taken from the agent via the Broadcaster’s add_stream_scte.json API.
For more information, on api calls, refer to Zixi Broadcaster API manual on the Customer Portal.
Special Operating Modes
You should only use these modes if required by SDS.
SingleStreamMode
In this mode, the ESAM Agent will create a SPE message for each ESAM enabled output regardless of what input that output is connected to. For output-based workflows, this allows for switching away from a looping file based on SCTE-35 messages seen on another input. The only outputs excluded from consideration are outputs without an ESAM ID and outputs that are connected to the input where the SCTE-35 was seen. Add to “sds” section: “singleStreamMode”: true
ZoneIdentityInSPEMode
Some SDS’s require ZoneIdentity as an added SPE parameter. This mode will evaluate all acquisitionPointIdentities against zoneIdentities when sending SPE. Only use this mode if required. Add to “sds” section: “zoneIdentityInSpeMode”: true