JVC 237VP, 257VP, 137, VN-H57, 157WP Basic Procedures, Example /api/param?network.rtsp.port=554

Models: VN-H37 157WP 257 257VP 237 137 VN-H57 237VP

1 108
Download 108 pages 6.38 Kb
Page 92
Image 92

Example /api/param?network.rtsp.port=554

Example of Response network.rtsp.port&202 Accepted(network.rtsp(configuration).status=restart)

Interpretation Change port number of RTSP server. Default is 554.

Allowed user admin, operator

29. Getting Audio from the Camera via HTTP (VN-H57/157WP/257/257VP)

29.1. Basic Procedures

1)The client establishes a TCP connection to port number 80.

2)The client sends out API.

Example

GET /api/audio?lowdelay=1 HTTP/1.1<CRLF>

Host: 192.168.0.2<CRLF><CRLF>

Note <CRLF> denotes the line feed code (0x0D, 0x0A).

3) The camera returns HTTP response.

Example

HTTP/1.1 200 OK<CRLF>

Connection: close<CRLF>

Content-type: audio/ulaw<CRLF>

Date: Tue, 02 Oct 2007 07:33:12 GMT<CRLF>

Server: JVC VN-H57 Network Camera<CRLF>

x-vnh57_response: encode=ulaw&lowdelay=1&assured=1<CRLF><CRLF>

4) The camera sends out audio data after returning HTTP response.

Audio data with 12 bytes header will be sent out continuously after HTTP response. HTTP Response and audio data sent out by the camera are as follows.

HTTP Response

header (12 bytes)

u-Law data (512 bytes)

header (12 bytes)

u-Law data (512 bytes)

92

Page 92
Image 92
JVC 237VP, 257VP, 137, VN-H57, 157WP, VN-H37 specifications Basic Procedures, Example /api/param?network.rtsp.port=554