Sony SNCDH110W Security Camera User Manual


 
CGI Command Manual
12
2.2 Acquiring multiplexed Audio & Video bit stream
The client application can get audio data as well with the video bit stream. In this case both video bit
stream and audio bit stream will be multiplexed in one TCP session.
<Method>
GET
<Syntax>
http://ip_adr/image?audioin=on[&speed=<value>]
http://ip_adr/image?audioin=on[&interval=<value>]
http://ip_adr/mjpeg?audioin=on[&speed=<value>]
http://ip_adr/mjpeg?audioin=on[&interval=<value>]
http://ip_adr/mpeg4?audioin=on
http://ip_adr/h264?audioin=on
Response data
The output format of this multiplexed bit stream is the "Server-push". The bit stream includes video
chunks and audio chunks. The client application can make a distinction between the video chunk and
audio chunk by checking the "Content-Type" header in the chunk.
Content-Type header
Content-Type: image/jpeg --- Indicates that is the JPEG chunk
Content-Type: video/mpeg --- Indicates that is the MPEG-4 chunk
Content-Type: video/h264 --- Indicates that is the H.264 chunk
Content-Type: audio/PCMU
Content-Type: audio/40kadpcm
Content-Type: audio/32kadpcm
Content-Type: audio/24kadpcm
Content-Type: audio/16kadpcm
PCMU : G.711 (64kbps)
40kadpcm : G.726 (40kbps)
32kadpcm : G.726 (32kbps)
24kadpcm : G.726(24kbps)
16kadpcm : G.726 (16kbps)
Indicates that is the audio chunk.
CamTim header
Stands for the date and time the video image is taken in the unit. This is inserted only in
the video chunk.
DataLen header
Stands for the data length of the data chunk. In the video chunk the figure is fixed in the
form of 8 digits and will be padded by "0" when the data length is in the range of 7 digits
or less.
The following example shows the response data to get motion JPEG bit stream and audio bit stream
HTTP/1.0 200 OK¥r¥n
Content-Type: multipart/x-mixed-replace;boundary=--myboundary¥r¥n
¥r¥n