Toshiba Toshiba ユーザーズマニュアル

ページ / 149
  TOSHIBA Network Camera - IK-WB15A -      SDK (Ver 1.00.SC) 
 
©TOSHIBA Corp. 
62 
7.1 
Get Live Pictures by streaming 
getstream.cgi 
7.1.1 Syntax 
1) http://<camip>/api/getstream.cgi?<clientID>&<uniqueID>&<ID>&<PW>&<streamType>&<interval>&<mode>&<value>&<timeOut> 
 
7.1.2 Input 
Parameter 
Value 
Explanation 
<clientID> 
Enter a unique ID of up to 15 digits. 
This <clientID> is used as an index to forcibly terminate (abort) the streaming 
execution task from the outside. It cannot be omitted. 
<uniqueID> 
Enter a unique ID of up to 15 digits. 
Embed the current time data of the client on each occasion. Originally, this is 
used as a cache reading preventive means in using the browser by 
continuously changing the value. If there is not any problem similar to the 
browser in an application, this parameter can be left blank. 
<ID> 
Enter the user ID that is base64-encoded or the 
administrator ID. 
Originally, <ID> can be left blank only when the user limitation setting is 
“Invalid (OFF)” at obtaining the image data of a LIVE image (_live.jpg). 
In the IK-WB15A, it can be left blank as a parameter. 
<PW> 
Enter the user ID that is base64-encoded or the 
administrator ID. 
Originally, <PW> can be left blank only when the user limitation setting is 
“Invalid (OFF)” at obtaining a LIVE image. 
In the IK-WB15A, it can be left blank as a parameter. 
<streamType> 
Specify “0” for the type of the LIVE image to be obtained. 
_live.jpg 
: 0 
<interval> 
Set the image distribution interval in ms. 
This value cannot exceed camera’s capability. If the specified distribution 
interval exceeds the capability on the camera side, the camera performs 
image distribution with its maximum capability at that time. 
<mode> 
Specify a fixed number of images or a fixed period as the 
LIVE image obtaining method. 
Fixed number of images 
: 0 
Fixed period 
: 1 
<value> 
Set the numeric value for the mode specified in <mode>. When 
<mode> is 0, set the number of images in <value>
When <mode> is 1, set the time interval in <value>
<timeout> 
Set the execution timeout value in ms. 
Set the execution timeout value in ms for the case where a 
non-communication status is continued over a certain period with the client 
while <image-field> is output. 
 
7.1.3 Output 
For details, refer to Appendix.A
 
7.1.4 Example 
1) http://10.1.0.1/api/getstream.cgi?3087&3087&&&0&1000&1&0&9000