The GetInputDetails action returns the details for the specified video input (camera).
| Parameter | Description |
|---|---|
input
|
An integer that specifies the index of the video input (camera). If you do not specify this parameter, the action returns the details for every input. |
http://localhost:15000/action=GetInputDetails&Input=0
A response for the GetInputDetails action includes the following data:
| Value | Description |
|---|---|
input
|
An integer that specifies the index of the video input (camera). |
name
|
The name assigned to the video input. |
utc
|
The current timestamp of the video that is being received. |
video_enabled
|
A Boolean (YES or NO) that specifies whether video is enabled. |
video_status
|
A Boolean (ON or OFF) that specifies whether video is being received. |
video_subtype
|
The codec used to encode the video. |
audio_enabled
|
A Boolean (YES or NO) that specifies whether audio is enabled. |
audio_status
|
A Boolean (ON or OFF) that specifies whether audio is being received. |
audio_subtype
|
The codec used to encode the audio. |
storagetrack_count
|
The number of storage areas assigned to this input/camera (always 1). |
For example:
<input>0</input>
<name>Alpha 5</name>
<utc>1352219737</utc>
<video_enabled>YES</video_enabled>
<video_status>ON</video_status>
<video_subtype>H264</video_subtype>
<audio_enabled>NO</audio_enabled>
<audio_status>OFF</audio_status>
<audio_subtype>NOT DETECTED</audio_subtype>
<storagetrack_count>1</storagetrack_count>
<storagetrack>
<active>true</active>
<track>0</track>
</storagetrack>
|
|