Versions Compared

Key

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

...

Parameter

Type

Required

Description

tx_id

String

Required

Transaction ID

inputs [ ]

String

Required

앱이 인스턴스 생성을 위해 입력받는 파라메터들

값들의 형태는 앱마다 고유하게 정의 됨

output_targets [ ]

String

출력 RPC를 받을 호스트

alarm_interval_hint

Integer

선호하는 알람 주기를 앱에게 힌트로 보내기 위한 값. (단위: 밀리초)

inputs annotation_level

Integer

비디오 주석 수준 (0: 비디오 주석 안함, 1~5: 가장 약함 ~ 가장 강함)

app_configs [ ]

String

Required

앱이 인스턴스 생성을 위해 입력받는 파라메터들

값들의 형태는 앱마다 고유하게 정의 됨

앱의 고유 비정형 설정 값

[Request Example]

Code Block
{
  "jsonrpc": "2.0",
  "method": "async_run_app_instance",
  "params": {
    "tx_id": "89s7dyf98ydf98gy9s8d",
    "inputs": [
      "rtsp://220.11.59.183:554"   // 입력 비디오 RTSP URI
    ],
    "output_targets": [
      "192.168.0.37"  // 앱의 출력 데이터를 RPC로 받을 호스트
    ],
    "alarm_interval_hint": 5000,    // 앱 인스턴스로부터 5초마다 알람을 받는 것을 선호
    "inputsannotation_level": [5,        "rtsp://220.11.59.183:554",// Video annotation 수준
  // 입력 비디오 RTSP URI "app_configs": {
      "max_count": "192.168.0.37256"            // 알람을 받을 호스트 앱마다 고유 정의되는 설정 값
    }
  
    ]
  },
  "id": "nk2-0"
}

Response

...