JVC VN-H37 Manual page 95

Ip camera api guide
Table of Contents

Advertisement

30.1. Procedures
1) The client establishes a TCP connection to port number 80.
2) The client sends out API.
API has following structure.
G E T
s p a c e
A c c e p t :
s p a c e
H o s t :
s p a c e
A u t h o r i z a t i o n : B a s i c
Refer to Section 5 on details of the Accept and Authorization lines.
The API characters are as follows.
/api/receive?from=network&from.ip=data1&from.protocol=tcp_passive&from.ip_translate=on&to=audio
Example
/api/receive?from=network&from.ip=10.0.0.100&from.protocol=tcp_passive&from.ip_translate=on&to=audio
Specify the client IP address for from.ip=. When from.ip_translate is set to off, the camera will standby to receive
audio data from the IP address specified at from.ip. When from.ip_translate is set to on, the camera will ignore
from.ip and standby to receive audio data from the source IP address of this API.
2) The camera returns a response.
HTTP/1.1 200 OK<CRLF>
Connection: Keep-Alive<CRLF>
Content-type: text/plain<CRLF>
Date: Fri, 13 MAY 2005 07:33:12 GMT<CRLF>
Server: VN-H57 Network Camera/1.0.0<CRLF>
x-vnh57_response:
from=network&from.ip=10.0.0.100&from.protocol=tcp_passive&from.ip_translate=on&to=audio<CRLF><CRLF>
200 OK<CRLF>
The client may disconnect the TCP80 at this point of time.
3) The client establishes a TCP connection to port number 49298.
A P I C h a r a c t e r s
t e x t / p l a i n ( o r t e x t / h t m l )
the camera
I P A d d r e s s o f
s p a c e
E n c o d e d
s p a c e
H T T P / 1 . 1 0 x 0 D 0 x 0 A
0 x 0 D 0 x 0 A
0 x 0 D 0 x 0 A
User Name and Password
9 5
0 x 0 D 0 x 0 A 0 x 0 D 0 x 0 A

Advertisement

Table of Contents
loading

Table of Contents