Versions Compared

Key

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

...

Key

Type

Required

Description

app_code

String

Required

실행할 앱의 종류를 구분하는 코드. See app_code table

be_host

String

Required

MD로 부터 RPC recv_callback을 받을 PlayCan서버 경로

md_host

String

Required

VI로 부터 RPC recv_callback을 받을 MD서버 경로

vi_host

String

Required

MD가 RPC async_send를 보낼 VI 서버 경로

inputs [ ]

String

Application-specific input resources. 복수개 입력을 URI 형식으로 나열함. 미입력 시 앱의 기본동작에 위임.

contexts [ ]

String

Application-specific input contexts or configurations

[JSON Body]

Code Block
languagejson
{
  "app_code": 1000,
  "be_host":"http://localhost:1234",
  "md_host":"http://localhost:17250",
  "vi_host":"http://localhost:9876",
  "inputs": [
 
    "rtsp://ec2-52-32-247-84.us-west-2.compute.amazonaws.com/stream?url=[rtsp://98.210.72.185:554]&id=admin&pw=admin",
      "192.168.0.37"  // 알람을 받을 호스트
 
  ]
 ,
  "contexts": [
      {"alarm_interval_hint": 5000},
      {"annotation_level": 3
 }
  ]   
}

Receive Object

[Fields]

...