JVC VN-E4U API Guide - Page 65
Procedure, Space, API Character String, 0x0D 0x0A, Accept, text/plain or text/html
UPC - 046838021015
View all JVC VN-E4U manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
6. API for Sending JPEG/Audio from VN-E4 via UDP _ 6.1. Procedure This section describes the API for sending JPEG or audio data via UDP. Make use of the APIs explained in this section in the way as mentioned in Section 4. VN-E4 allows sending of up to 10 streams of JPEG/audio data. This includes HTTP sending based on client request, manual sending from the WEB setting page as well as UDP sending via API. An error will be returned for the API if 10 streams of data are currently being sent. 6.1. Procedure 1) The client establishes a TCP connection to port number 80. 2) The client sends out API via TCP. Character strings of the following structure will be sent out. GET Space Accept Space Host: Space Authorization: Basic API Character String Space HTTP/1.1 0x0D 0x0A text/plain or text/html 0x0D 0x0A IP Address of VN-E4 0x0D 0x0A Space User Name and Password 0x0D 0x0A 0x0D 0x0A The API format when specifying using GET is as follows. /api/cmd?ParamA=Data&ParamB=Data&ParamC=Data Refer to Section 4 on details of the Accept and Authorization lines. 3) VN-E4 returns a response to the client. 4) Perform the action as instructed by VN-E4 (start or stop JPEG/audio sending). 5) The client can disconnect TCP80 to end the use of API. 65