User manual

ARECONT VISION USER MANUAL 61
Arecont Vision 425 E Colorado St, 7
th
Floor Glendale, CA 91205 8/1/2012
www.arecontvision.com
PLAY – starting RTP video stream;
The camera also recognizes PAUSE and TEARDOWN but terminates the RTSP session when it receives
these commands. To resume the stream it is necessary to repeat stream initialization.
The following is a sequence of resolving camera’s parameters and starting an RTP stream:
1) Open a TCP connection on port 554 (RTSP) of the camera.
2) Request the camera’s data format via DESCRIBE. The camera will respond with SDP
parameter set of the H.264 stream (SPS/PPS), and the method of forming RTP data packets and
synchronization (90 KHz timer).
3) Specify via SETUP the client ports for receiving the video stream.
4) Request PLAY to start the RTP video stream.
5) Receive and decode H.264 video frames packed into fragmented RTP packets that are
transmitted via UDP, or optionally over TCP, by the camera.
6) At least every 5 seconds of the RTP streaming send RTCP feedback packets. If the camera
does not receive any RTCP packets over a 10 second period, the session will be terminated.
The camera sends IDR frames followed by multiple P-frames. All frames are transmitted in the form of FU-A
fragmented RTP packets as described in RFC 3984. The default number of P-frames is 50, and can be
modified using the following HTTP command:
http://camera_IP/setreg?page=3&reg=21&val=(number of P-frames)
The current P-frame setting can be checked using the following HTTP command:
http://camera_IP/getreg?page=3&reg=21
The AV3135 dual-sensor cameras support unicast access via RTSP/RTP connections. However, because the
AV3135 cameras have two different sensors with different video format, there are additional considerations
for RTP/RTSP streaming. These are addressed by sending two different parameter sets upon RTSP
DESCRIBE request and sending two corresponding video streams with RTP packets with two different
payload types. The AV3135 cameras do not support multicast access.
Following is a sequence of resolving camera’s parameters and starting an RTP stream for the AV3135
cameras:
1) Open a TCP connection on port 554 (RTSP) of the camera.