Versions Compared

Key

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

다음 유형의 명령을 사용할 수 있습니다.

  1. 비디오 카메라와 해당 모드를 선택합니다

The following types of commands are available:

  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 원본 객체는 VIDEOSOURCEID 식별자에 해당합니다 (Get list of video sources (cameras) 참고).Switch between archive and live mode.

  2. 아카이브와 라이브 모드 사이를 전환합니다

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


  3. Play and stop the video in archive mode아카이 모드에서 동영상을 재생하고 중지합니다 .

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


  4. Go to a certain time in archive mode아카이브 모드에서 특정 시간으로 이동합니다 .

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


  5. Change a selected camera선택한 카메라를 변경합니다 .

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