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
In order to understand the RTSP protocol more clearly, this paper designs a simplest RTSP client program, which sends the options, DESCRIBE, Setup, PLAY, teardown requests to rtsp in turn to view the data returned by the server. Both RTP and RTCP communication are established, and a packet of RTP and a packet of RTCP packets are received.
Description
Server-side
Live555 receive RTSP live stream, convert HTTP Live streaming (iOS live) protocolThe RTSP protocol is also a widely used live/on-demand streaming protocol that previously implemented a program that received the RTSP protocol via live555 and then converted it to the HLS (Http live streaming) live protocol file. In order to receive the remote device or the server's
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
The real-time stream protocol RTSP is jointly proposed by RealNetworks and Netscape, which defines how one-to-multiple applications can effectively transmit multimedia data over an IP network. RTSP is located on RTP and RTCP in the architecture. It uses TCP or RTP for data transmission.
Specific implementation:
Player = manager. createplayer (rtspurl );Player. addplayerlistener (this );Player. Realize ();Vo
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
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
[GO] Streaming Media protocol introduction (RTP/RTCP/RTSP/RTMP/MMS/HLS)http://blog.csdn.net/tttyd/article/details/12032357RTP reference Documentationrfc3550/rfc3551Real-time Transport Protocol) is a Transport layer protocol for multimedia traffic on the Internet. The RTP protocol details the standard packet format for transmitting audio and video over the Internet. RTP protocols are commonly used in streaming media systems (with the RTCP protocol), vi
FFmpeg forces the use of TCP to process the RTSP stream, referring to the online data, to know that the following commands can be used:"FFmpeg -rtsp_transport TCP -I rtsp://admin ..."This can be done by using the Grab Kit tool to verify that TCP is enforced.Reference:Https://freshventure.wordpress.com/?s=ffmpeg-----------------------------------------------------
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
transmit multimedia data over an IP network. RTSP provides a scalable framework that enables real-time data, such as audio and video, to be controlled and on-demand. Data sources include field data and data that is stored in a clip. The protocol is designed to control multiple data-sending connections, providing a way to select Send channels, such as UDP, multicast UDP, and TCP, and provide a way to select the RTP-based send mechanism.RTSP (Real time
protocol called Secure Real-time Transport Control Protocol (secure RTCP or SRTCP); The secure real-time transport Control Protocol provides similar security-related features for real-time transport control protocols, just as the secure real-time transport protocol provides for real-time transport protocols.It is optional to use the real-time transport protocol or the real-time transport control Protocol to make it possible to not use secure real-time transport protocols or secure real-time tra
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
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
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
Objective:
Using the javacv1.2 version, refer to the code on the Internet, encountered a number of very serious problems, the last one to eliminate the solution. The main issues to be addressed are:
Problem one, ffmpeg default is the way to use UDP, often the problem of packet loss, you need to change the UDP to TCP can be resolved, the following is the content of the error:
Input #0, RTSP, from ' RTSP://A
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.