Details of
5) When the client wants to stop current
2.2.API Format Structure
GET | space | API | space | HTTP/1.1 | 0x0D 0x0A |
|
|
|
|
|
|
Host: | space | IP Address of | 0x0D 0x0A 0x0D 0x0A |
| |
|
|
|
|
|
|
Unlike APIs for getting/setting parameters, Accept line is not required. Basic authentication is also not necessary.
Example
GET /api/video?encode=mpeg4&ptz_info=off HTTP/1.1<CRLF>
Host: 192.168.0.2<CRLF><CRLF>
Parameter value is indicated using =. Do not insert space before and after =.
Example encode=mpeg4
Parameter Description
encode For specifying compression format. For example, specify as encode=mpeg4 to get
ptz_info To add pan/tilt/zoom information before
2.3. Response
When API is successfully received
Example
HTTP/1.1 200 OK<CRLF>
Connection: close<CRLF>
Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF>
12