Axis Communications Version 3 manual Rtsp Commands, Request Syntax, Header Field Description

Page 15

Video Streaming API

This document is copyright protected and is the property of Axis Communications AB and may not be copied, reproduced or distributed in any way without the prior written consent of Axis Communications AB.

3 RTSP API

RTSP (Real Time Streaming Protocol) is a control protocol for media streams delivered by a media server. RTSP can be considered a “remote control” providing commands such as play and pause. In addition, RTSP API provides parameters controlling media stream properties such as resolution, compression, video bit rate and audio as well as parameters controlling the image settings.

Please refer to the release notes for the actual product for compliance information.

The RTSP server in the Axis products is based on RFC 2326 Real Time Streaming Protocol (RTSP), RFC 4566 SDP: Session Description

Protocol and RFC 3550 RTP: A Transport Protocol for Real-Time Applications.

When streaming both video and audio the audio and video can be synchronized by using RTP timestamps as described in RFC 3550.

3.1 Prerequisites

3.1.1 Identification

Property: Properties.API.RTSP.Version=2.01 and later

Property: Properties.API.RTSP.RTSPAuth=yes

3.2 RTSP Commands

The RTSP API provides several commands for media stream control.

3.2.1 Request Syntax

Syntax:

COMMAND rtsp://<servername>/axis-media/media.amp

[?<parameter>=<value>[&<parameter>=<value>...]] RTSP/1.0<CRLF> Headerfield1: val1<CRLF>

Headerfield2: val2<CRLF>

...

<CRLF>

[Body]

COMMAND is any of DESCRIBE, SETUP, OPTIONS, PLAY, PAUSE, TEARDOWN, SET_PARAMETER or GET_PARAMETER. Lines are separated with Carriage Return and Line Feed (CRLF).

Supported RTSP URL parameters and their values are listed in section3.4 Parameter Specification RTSP URL.

Note

RTSP requests always contain the absolute URL.

The following header fields are accepted by all commands. Some commands accept or require additional header fields:

Header Field

Description

 

 

Authorization

Authorization information from the client.

CSeq

Request sequence number.

Session

Session identifier (returned by the Axis product in SETUP

 

response).

Content-Length

Length of content.

15

Image 15
Contents Vapix Version Video Streaming API Limitation of Liability Table of Contents Rtsp Request Description Unknown ArgumentsReferences Common Examples Image ResolutionImage Resolution Request PrerequisitesImage Resolution Response Video Status Video Status RequestVideo Status Response Bitmap Image Response Http Code 200 OK Content-Typetext/plain BodyBitmap Bitmap Image RequestJpeg Image Response Response Http Code 200 OK Content-Typeimage/bitmapJPEG/Motion Jpeg Jpeg Image Snapshot CGI RequestMotion Jpeg Video CGI Request Http Code 200 OK Content-Typeimage/jpegImage Request Arguments Motion Jpeg Video ResponseResponse Http Code 200 OK Rotation= int 180270 Properties.Image.Rotation Squarepixel= int Rtsp Commands Request SyntaxHeader Field Description Header Field Type of content application/sdpResponse Syntax Rtsp Describe=transformMATRIX SDP Media Attribute TransformRtsp Options Rtsp SetupExample Request Rtsp PlayRtsp Pause Range RTP-InfoExample Request Description Rtsp Teardown Rtsp SetparameterRtsp Pause On Live Stream Http//servername/axis-media/media.amp Rtsp Over HttpNetwork Parameters Parameter Specification Rtsp URLHTTP/1.0 200 OK Content-Type application/x-rtsp-tunnelled AuthenticateOverHTTP YesParameter Valid values Description Overlayimage Textbackgroundcolor BlackTransparent Semitransparent Rotation 180 270 TextposFramerate Videokeyframeinterval Error Messages RtspRtcp Videobitratepriority NoneHttp//myserver/axis-cgi/alwaysmulti.sdp?camera=1 SDPRequest SDP URL Response SDP URLStream Profiles Response Example Stream Profile ParametersParameter Valid values Access control Description Motion Jpeg Video RequestMethod GET Syntax Rtsp Request Vapix version

Version 3 specifications

Axis Communications has established itself as a leader in the network video solutions realm, and with the introduction of Version 3, it continues to push the boundaries of surveillance technology. This iteration of their product line boasts numerous enhancements, reflecting Axis's commitment to innovation and quality.

One of the standout features of Axis Communications Version 3 is its advanced analytics capability. With embedded analytics, users can leverage features like motion detection, object tracking, and even facial recognition, allowing for a more intelligent approach to surveillance. This transformation from mere video monitoring to data-driven insights enables businesses and organizations to enhance security and operational efficiency.

Enhanced video quality is another hallmark of Version 3. Axis has incorporated the latest in imaging technology, supporting resolutions up to 4K and HDR (High Dynamic Range). This results in clearer images and a wider dynamic range, ensuring visibility in challenging lighting conditions. Users can expect vibrant colors and sharp details, whether during the day or night, thanks to the integration of advanced lenses and sensors.

In terms of connectivity and network resilience, Axis Communications has equipped Version 3 with the latest protocols and technologies. The use of Power over Ethernet (PoE) ensures a straightforward installation process, while improved wireless options offer flexible deployment solutions in various environments. Additionally, the inclusion of cybersecurity features like secure boot and encrypted video streams underscores the company’s commitment to protecting user data and privacy.

Another key characteristic of Version 3 is its scalability. The modular design allows organizations to start with a few cameras and expand as needed, making it suitable for small businesses as well as large enterprises. This scalability is complemented by compatibility with various Axis accessories, including storage solutions and mounting options, allowing users to customize their systems to specific requirements.

Furthermore, Version 3 supports integrations with third-party applications and systems, providing extended functionality and ease of use. This interoperability means organizations can tailor their security solutions to fit their operational workflows seamlessly.

In summary, Axis Communications Version 3 encapsulates cutting-edge technology and innovative features. With its advanced analytics, superior video quality, robust connectivity, scalable design, and integration capabilities, it is poised to set new standards in the domain of network video solutions, ensuring enhanced security and operational efficiency for a diverse range of applications.