EVENTS STATES

Event states are core to the system and each Event will go often transition through a few different states.


PRE_LIVE = 0

This is the events initial state. It’s possible to set an event back to pre-live and this will remove the existing publishing point.

LIVE_UNPUBLISHED = 1

This will start the encoder and create the publishing point. However, the state can signal to a player that the stream should not yet be displayed.

LIVE_PUBLISHED = 2

This will start the encoder if not already started, and create the publishing point. The published state can be use to signal to a player that the stream is ready for public viewing.

SUSPENDED = 3

This state provides a way to stop the encoder, but keep the publishing point active so that when the encoder restarts (e.g. change back to a LIVE state), it continues streaming. This will also mean the VOD will not contain data when the encoder was not publishing, and will appear seemless to a user.

STOPPED = 4

This will stop the encoder and end the stream. This state will naturally transition to INSTANT_VOD.

INSTANT_VOD = 5

This state behaves the same as above but signifies the INSTANT_VOD is ready.

INSTANT_VOD_BACKUP = 6

The Instant VOD has been backed up to longer term storage, but no longer stream able. INSTANT_VOD_BACKUP and INSTANT_VOD_DELETE is a configuration setting and can only be one or the other.

INSTANT_VOD_DELETE = 7

The instant VOD has been deleted and is no longer stream able. INSTANT_VOD_BACKUP and INSTANT_VOD_DELETE is a configuration setting and can only be one or the other.

PRE_VOD = 8

The metadata is in the system, but no physical VOD asset has been attached.

VOD_INGESTING = 9

The VOD is currently ingesting and will be available once completed.

VOD_PRIVATE = 10

The VOD is private and only viewable from the protected URL. When putting an event into private, please clear the CDN cache.

VOD_PUBLIC = 11

The VOD is public and available to the CDN for public usage.

REMIX_GENERATING = 12

Remix is generating.

REMIX_PRIVATE = 13

Remix of Live and VOD. Available privately.

REMIX_PUBLIC = 14

Remix of Live and VOD. Available publicly.

REMIX_ERROR = 15

Remix error.

VOD_ERROR = 16

VOD error.

ARCHIVER_PRIVATE = 17

Archiver private. Available privately.

ARCHIVER_PUBLIC = 18

Archiver public. Available publicly.