SerComm Confidential
84
http://192.168.0.99/img/snapshot.cgi?quality=4
Return: A JPEG image will be returned to client with user specified resolution and quality.
HTTP/1.0 200 OK\r\n
…
content-type: image/jpeg\r\n
…
<JPEG image data>
SDP (MPEG-4/H.264 video, not for MJPEG video)
Method: GET
URL:
http://<ip>/img/media.sdp
Return: A SDP file will be returned.
HTTP/1.0 200 OK\r\n
…
<SDP data>
Audio Upload (uploading audio streaming to the camera)
Method: POST
URL:
http://<ip>/img/g726.cgi
G.726 audio stream (16Kbps or 32Kbps,
depends on models)
URL:
http://<ip>/img/g711a.cgi
G.711 a-law audio stream (64Kbps)
URL:
http://<ip>/img/g711u.cgi
G.711 u-law audio stream (64Kbps)
Example (
client side
):
POST http://192.168.0.99/img726.cgi HTTP/1.0\r\n
Authrization: Basic YWRtaW46YWRtaW4= \r\n
\r\n
Return:
OK
HTTP/1.0 200 OK\r\n
Client starts to upload the audio stream.
Unauthorized
(Bad username, password)
HTTP/1.0 401 Unauthorized\r\n
RTP/RTSP
User can stream video and audio through the following URLs.
Video and audio:
rtsp://<ip>/img/media.sav
Video only:
rtsp://<ip>/img/video.sav
Audio only:
rtsp://<ip>/img/audio.sav