The EMS Event Notification System provides an extremely powerful way of interacting with the EMS. At the basic level it allows you to easily understand and monitor the usage of your server. You can either poll and parse the log file, or simply subscribe to the HTTP based notifications sent out by the EMS.

Beyond monitoring and gathering metrics, you can use the Event Notification System to create custom stream processing. If you want to automatically create HLS or HDS or DASH streams out of new inbound streams, simply call createHLSStreamcreateHDSStream or createDASHStream in response to each “new inbound stream” event. If you want to close inbound streams when the associated outbound stream is lost, call shutdownStream when you receive a “outbound stream closed” event.

List of Events used by the Web Services

The following events are generated by the EMS:

  • inStreamCreated – An inbound stream has been created
  • inStreamClosed – An inbound stream has been closed
  • outStreamCreated – A new outbound stream has been created
  • outStreamClosed – An outbound stream has been closed
  • timerTriggered – The requested timer event
  • hdsMasterPlaylistUpdated – HDS group manifest has been modified
  • hdsChildPlaylistUpdated – Stream specific HDS manifest has been modified
  • hdsChunkClosed – A new HDS segment has been completed and is ready on disk
  • hdsChunkDeleted - An HDS chunk has been deleted
  • hlsMasterPlaylistUpdated – HLS group playlist has been modified
  • hlsChunkClosed – A new HLS segment has been completed and is ready on disk
  • hlsChunkDeleted - An HLS chunk has been deleted
  • dashPlaylistUpdated - DASH manifest has been modified
  • dashChunkClosed - A new DASH fragment has been completed and is ready on disk
  • dashChunkDeleted - A DASH chunk has been deleted