Toshiba Toshiba Security Camera User Manual


 
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp. Appendix.A
125
Appendix.A Output of getstream.cgi
The distribution format by streaming has the following fixed format.
<HTTP Header>
<Image Data Division>
<Message Notification Division>
To distribute multiple image data, <Image Data Division> is executed repeatedly.
<Message Notification Division> notifies the client of the streaming execution status and termination status as a message.
The following is an explanation of how to distribute image data.
--- For normal termination ---
To distribute image data by streaming, it is output in the following fixed format.
The italic portion means a portion that changes as data.
HTTP/1.0 200 OK\r\n
Content-Type: multipart/x-mixed-replace;boundary=<32byte-sync>\r\n
\r\n
--<32byte-sync>\r\n
<<image-fields>>
--<32byte-sync>\r\n
<<image-fields>>
...
--<32byte-sync>\r\n
<<image-fields>>
--<32byte-sync>\r\n
Content-Length: 20\r\n
EndOf-getstream.cgi.
The above is used as the basic format and the contents of <<image-fields>> varies depending on whether it is voice data or image data as
shown below: