68
6. API for Sending JPEG/Audio from VN-E4 via UDP _
6.2. List of APIs
x-vne4_response:
from=audio&to=network&to.ip=225.0.1.1&to.port=20002&to.session_id=1234567
9<CRLF><CRLF>
503 Service Unavailable<CRLF>
(4) Stopping Audio (u-Law) Sending from VN-E4
Format
/api/stop?to.session_id=data
Example
/api/stop?to.session_id=12345679
Specify session_id with the same value as when send is used. All audio sending will be terminated when
session_id=* is specified.
Interpretation
Stop u-Law/RTP/UDP sending from VN-E4.
Allowed users
admin, operator
Example of Response
HTTP/1.1 200 OK<CRLF>
Date: Fri, 13 MAY 2005 07:33:12 GMT<CRLF>
Server: VN-E4 API Server/1.0.0<CRLF>
Connection: Keep-Alive<CRLF>
content-type: text/plain<CRLF>
Connection: Keep-Alive<CRLF>
Keep-Alive: timeout=5, max=5<CRLF>
x-vne4_response: to.session_id=12345679<CRLF><CRLF>
200 OK<CRLF>
7. API for Audio Receiving by VN-E4