Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Select the video camera and its mode.

    Code Block
    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.

    Code Block
    type Options = {archivePane?: boolean}

    The origin object corresponds to the VIDEOSOURCEID identifier (see Get list of video cameras and information about them).

  2. Select a different video camera in the video component. Usually used after the init command to change a video camera.

    Code Block
    type RelnitMessage = {type: 'relnit', mode: 'live' | 'archive', origin: string, time: Date, options?: Options}


  3. Switch between the archive and live modevideo.

    Code Block
    type SwitchMode = {type: 'live' | 'archive'}


  4. Play Start and stop the video in playback from the archive mode.

    Code Block
    type PlaybackCommand = {type: 'play' | 'stop'}


  5. Go to a certain time in the archive mode.

    Code Block
    type SetTimeCommand = {type: 'setTime', time: Date}


  6. Change a Focus on the selected camera.

    Code Block
    type SetCameraCommand = {type: 'setCamera', origin: string}