Technology decoding | GB28181/SIP/SDP protocol--EasyGBS national standard GB28181 platform national standard video technology SIP analysis

EasyGBS national standard video cloud service is a video capability platform based on the national standard GB/T28181 protocol. The video functions that can be realized include: real-time monitoring of live broadcast, recording, retrieval and playback, voice intercom, cloud storage, alarm, platform cascading and other functions. The platform is simple to deploy and highly scalable, and supports the distribution of accessed video streams to all terminals and all platforms. The distributed video streams include RTSP, RTMP, FLV, HLS, WebRTC and other formats.

SIP (Session Initiation Protocol) is a communication protocol used to establish, modify and terminate network sessions. It is an application layer protocol commonly used in Internet telephony (VoIP) and multimedia communication systems.

 The SIP protocol mainly includes the following logical roles:

User Agent (UA): User agent is a terminal device in the SIP protocol, such as soft phone, hard phone, etc. The user agent can run as a SIP client or a SIP server (if it can handle requests and responses).

Proxy Server: A proxy server is a server in the SIP protocol that is used to forward SIP requests and process responses. The proxy server can forward requests according to rules, select routes, or modify the information in the SIP message header.

Register/Location Server: The Registration/Location Server is a server in the SIP protocol that is used to store user location information and process registration requests. It helps the proxy server find where the user is and forward the request to the appropriate user agent.

Redirect Server: The redirect server is a server in the SIP protocol that is used to handle requests that the proxy server cannot handle. When the proxy server cannot find the target user, the redirect server can provide the address of another proxy server so that the request can be forwarded to the correct location.

The interaction between these roles can be processed according to the rules of the SIP protocol to achieve the establishment, modification and release of sessions.

SIP (Session Initiation Protocol) is an application layer protocol used to control multimedia communication sessions.

In SIP's REQUEST, six core methods are defined: INVITE, ACK, BYE, CANCEL, OPTIONS and REGISTER.

The INVITE message is used to initiate a new session; the ACK message is used to complete the establishment of the session. The BY message is used to end a session; the CANCEL message is used to cancel a request (usually for INVITE); the OPTIONS message is used to query the server's capabilities; REGISTER Message is used to send registration request messages.

The following is the basic format of the SIP protocol:

Request message format:

METHOD URI SIP_VERSION
Headers
Empty Line
Message Body
  • METHOD: Represents the request method, common ones include INVITE, REGISTER, BYE, ACK, OPTIONS, etc.

  • URI: Uniform Resource Identifier, specifying the target address or resource of the request.

  • SIP_VERSION: The version number of the SIP protocol, such as SIP/2.0.

Response message format:

SIP_VERSION STATUS_CODE REASON_PHRASE
Headers
Empty Line
Message Body
  • SIP_VERSION: The version number of the SIP protocol, such as SIP/2.0.

  • STATUS_CODE: Indicates the status code of the response. Common ones include 1xx (informational response), 2xx (successful response), 3xx (redirect response), 4xx (client error response), 5xx (server error response), etc.

  • REASON_PHRASE: Reason phrase corresponding to the status code.

Video streaming security monitoring national standard GB28181 platform EasyGBS has rich video capabilities and flexible deployment. It can be used as a business platform and can also be called by the business management platform as a security monitoring video capability layer. The national standard GB28181 video surveillance EasyGBS platform can provide streaming media access, processing, forwarding and other services, and supports functions such as live video surveillance and live streaming of security video surveillance equipment on the intranet and public network through the national standard GB/T28181 protocol.

 

Guess you like

Origin blog.csdn.net/EasyNTS/article/details/132809131