MP4 states are are included on each Event and track whether or not there is any MP4 representation of the Event.
NONE = 0¶
This is the default for most Events (unless created via TaskEngine callback), and shows that no MP4 content exists.
AVAILABLE = 1¶
This is set whenever the TaskEngine indicates that it has generated an MP4 file for this Event.
Note: this does not include any VOD Downloads for this Event, which are handled separately.
GENERATING = 2¶
This is specified by the system to inform it that an MP4 has been requested for this Event.
FAILED = 4¶
This is set when the MP4 generation has failed. This can be treated equivalently to
NONE, as you can still generate an MP4 and receive callbacks that can transition to
AVAILABLE. This is for information purposes, notably within the interface.