JVC VN-E4U API Guide - Page 68

(4) Stopping Audio (u-Law) Sending from VN-E4, 7. API for Audio Receiving by VN-E4, 2. List of APIs

Page 68 highlights

7. API for Audio Receiving by VN-E4 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 503 Service Unavailable (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 Date: Fri, 13 MAY 2005 07:33:12 GMT Server: VN-E4 API Server/1.0.0 Connection: Keep-Alive content-type: text/plain Connection: Keep-Alive Keep-Alive: timeout=5, max=5 x-vne4_response: to.session_id=12345679 200 OK 68

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

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