Documentation for Axxon One 1.0.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following types of commands are available:

  1. Select the video camera and its mode.

    type InitMessage = {type: 'init', mode: 'live' | 'archive', origin: string, time: Date, options?: Options}

    The options object allows you to control the archive panel - to hide it or to show it.

    type Options = {archivePane?: boolean}

    The origin object corresponds to the VIDEOSOURCEID identifier (see Get list of video sources (cameras)).

  2. Switch between archive and live mode.

    type SwitchMode = {type: 'live' | 'archive'}
  3. Play and stop the video in archive mode.

    type PlaybackCommand = {type: 'play' | 'stop'}
  4. Go to a certain time in archive mode.

    type SetTimeCommand = {type: 'setTime', time: Date}
  5. Change a selected camera.

    type SetCameraCommand = {type: 'setCamera', origin: string}
  • No labels