AMP - Event Management

Document created by Herberth Alvarado Champion on Aug 31, 2017Last modified by Herberth Alvarado Champion on Aug 31, 2017
Version 7Show Document
  • View in full screen mode

Mantainer: Herberth Alvarado

This document is part of Adaptive Media Player Web User Guide

 

 

Event Management allows customers to put images (slates) at specific points of a Live event. This can be achieved by a piece of configuration where the states details can be specified.

 

The configuration will look pretty similar to the following:

eventmanagement: {
   enabled: true,
   url: "../path/to/playerstate.txt",
   interval: 5,
   states: [{
      id: "pre",

      poster: "../resources/path/to/opening.gif"
    }, {
      id: "post",
      poster: "../resources/path/to/thankyou.png"
   }, {
      id: "error",
      poster: "../resources/path/to/standby.png"
   }, {
      id: "off",
      poster: "../resources/path/to/thankyou.png"
   }]
},

 

Quick reference of every field:

  • In playerstate.txt file you set the ID of the state/slate you want to display in the player.
  • Interval, defines the time in seconds between every check on playerstate.txt file.
  • ID: identifies the state/slate, so it can be referenced from the playersate.txt file.
  • Poster: is the path to the image file to be used in that state.
  • States: list of states defined.
    • There is one pre-defined state, which is "on". When you put the "on" word inside the playerstate.txt file, that indicates to the player to start or resume the playback.
  • URL: path to the playerstate.txt file
  • Enable: activates or deactivates the Event Management.

 

Sample: AMP Premier - Samples - Live Event Management 

 

This document is part of Adaptive Media Player Web User Guide

Attachments

    Outcomes