I downloaded a RTSP protocol from the device manufacturer. According to the instructions in the document, I didn't respond to the issue, dizzy, and finally connected it with its demo, use Wireshark to track a complete process,
I made another complete process.
An RTSP process uses a camera that supports RTSP and uses Delphi's tclientsocket to send a string using a
protocols.
Ii. Streaming Media ProtocolReal-Time Transport Protocol (PRT) is a network protocol used to process multimedia data streams over the Internet. It can be used in one-to-one (unicast, unicast) scenarios) or you can transmit streaming media data in real time in a one-to-multiple (Multi-play) network environment. RTP usually uses UDP for multimedia data transmission, but other protocols such as TCP or ATM can be used if needed. The entire RTP protocol consists of two closely related par
Introduction
in a simple sentence summary: RTSP initiate/End streaming media (application layer), RTP transport Stream Media data (transport layer), RTCP to RTP control, synchronization (transport layer).
The reason for this is a little confusing, because the CTC standard does not require RTCP, so in the standard RTSP code does not see the relevant parts. In the private
RTSP protocol analysis1. Overview:RTSP (Real Time Streaming Protocol) is an application layer Protocol in the TCP/IP Protocol system. It is an ietf rfc standard submitted by Columbia University, Netscape and RealNetworks. This Protocol defines how one-to-multiple applications can effectively transmit multimedia data over an IP network. It is similar to the HTTP traffic control protocol. Both use plain text to send information, and the
from the source side to the server can be reused, that is, a path-by-step.
The server side maintains a list of all the camera sources that are being distributed.
The server is not connected to the source side in the spare state, and the connection process is initiated only if it is required.
When all client ends a request to a source end. The server stops fetching data from the source side. Disconnect.
The Darwin system already has some of the conditions we need: The Rtspclient
incomingconnectionhandlerrtsp to the task scheduling Env. taskscheduler (). turnonbackgroundreadhandling (frtspserversocket, (taskscheduler: backgroundhandlerproc *) incomingconnectionhandlerrtsp, this );}
void RTSPServer::incomingConnectionHandlerRTSP(void* instance, int /*mask*/) { RTSPServer* server = (RTSPServer*)instance; server->incomingConnectionHandlerRTSP1();}
void RTSPServer::incomingConnectionHandlerRTSP1() { incomingConnectionHandler(fRTSPServerSocket);}
When receiving a connec
One, RTMP, RTSP, HTTP protocolThese three protocols belong to the Application layer protocol in the Internet TCP/IP five layer architecture. Theoretically these three kinds can be used for video broadcast or on-demand. But usually, live broadcast with RTMP, RTSP. And on-demand with HTTP.The following are the characteristics of the following three respectively. The 1,RTMP Protocol (1) is a streaming media pr
Transferred from: http://www.zhihu.com/question/20621558 Yang HuaLinks: http://www.zhihu.com/question/20621558/answer/15661190Source: KnowCopyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.As a field of expertise, I decided to update this answer.Copyright reserved, not commercial, reprint must be at the beginning of the location of the author, source.With the impression of completion, errors and omissi
Hoi Hong rtsp fetch stream URL format
First, preview the fetch stream
The RTSP URL for the device preview fetch stream has a new and old version, and devices prior to 2012 (such as the V2.0 version of NetraThe old fetch stream format, after which the new old stream format is supported by the device.
Rtsp.jpg1. Old version
URL Provisions:
Rtsp://username:passw
serial number.
Timestamp: 32 bits, timestamp. Indicates the sampling time of the first byte in the information packet carried by RTP packet.
SSRC: 32 bits, data source ID. Each data stream in an RTP session should have a different SSRC.
CSRC list: 0 to 15 items. Each source ID is 32 bits, which contributes to the data source ID. It is valid only when mixer exists. For example, if a multi-channel speech stream is merged into a single-channel speech stream, the SSRC of each original audio channel
The similarities and differences between RTSP, RTMP, and HTTPCommon:1:RTSP RTMP HTTP is applied at the application layer.2: Theoretically RTSP rtmphttp can do live and on-demand, but generally do live with RTSP RTMP, do on-demand http. Video conferencing when the original SIP protocol, and now basically replaced by the
Reprint: http://easydarwin.org/article/Streaming/141.htmlThe similarities and differences between RTSP, RTMP, and HTTPCommon:1:RTSP RTMP HTTP is applied at the application layer.2: Theoretically RTSP rtmphttp can do live and on-demand, but generally do live with RTSP RTMP, do on-demand http. Video conferencing when the
1. s60 uses a multimedia framework (MMF) for video and audio playback and recording. It has a plug-in architecture and can use multiple types of plug-ins for media playback and recording, for example, the RealPlayer engine is a plug-in for the MMF controller and supports video and audio playback and stream. 2. The s60 built-in player uses the RealPlayer engine. HTTP streaming media is not supported, because all video data must be read into the cache at one time before display. 3. the common form
With the arrival of 3G, the bandwidth is higher and the traffic fee is lower, and multimedia applications such as mobile phone and TV will surely develop greatly. I will sum up my previous experience, I will discuss with you how to create a VoD solution for mobile phones, and finally provide a preliminary client implementation result. Welcome to the discussion.
First, let's talk about the architecture. For ease of management and expansion, bandwidth restrictions, and multi-user concurrency, comm
Recently, due to the need to implement RTSP-based transmission RM rmvb, no existing solutions have been found on the Internet. Only one live555 has implemented the RTSP service, but only supports RTP transmission of mpg, MP3, WAV and other formats. rm seems very unpopular in the Open Source Field, probably because the formats and protocols are private and not open. Then we started to develop rmvb over
, quality reduction; second, advanced and efficient compression algorithms.Basic Principles
The process of stream transmission is generally as follows:
(1) After selecting a first-class media service, the web browser and the Web server use HTTP/tcp to exchange control information, in order to retrieve the real-time audio/video stream data to be transmitted from the original information.
(2) The web browser on the client starts the Client Program (some playing programs) and uses http to retrieve
Atitit onvif protocol Get RTSP address play Java language ATTILX summary
1.1. Get the RTSP address algorithm and Flow 1
1.2.Onvif camera discovery, WS discovery Mechanism, using XCF class library 1
2. Call Getstreamuri get RTSP address, use class library onvif Java Library by Milgo2
2.1. The problem why use this get address can not play 4
1.1. algorithms and
HTTP (Hyper-Text Transfer Protocol), RTSP (Real Time Streaming protocol live Stream Transfer Protocol), RTMP (Routing Table Maintenance Protocol Routing Tables Maintenance Protocolis the application layer protocol, theoretically can do live, on-demand, in fact, live more than rtmp and RTSP, on-demand and more with RTSP and HTTP. First, common areas:
HTTP
RTSP-RFC2326 protocol format Analysis 1 application layer protocol, control the transmission of real-time data streams, the Protocol aims to control multiple data transmission links, select the channel for sending, such as UDP, multicast UDP and TCP. many methods have nothing to do with the RTSP status, but the following methods are very important: SETUP, PLAY, RECORD, PAUSE, TEARDOWN. ~~~~~~~~~~~ SETUP: Le
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.