LIVE555 Study ii rtsp, RTP/RTCP protocol Introduction
LIVE555 Study ii rtsp, RTP/RTCP protocol Introduction
I. Overview
RTSP (Real-Time Stream Protocol) is a text-based application layer Protocol. RTSP is similar to HTTP in terms of syntax and message parameters.
RTSP is use
is inserted by the mixer and is identified by the SSRC identifier of the active source. 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 is listed here.RTCP (real time contorl Protocol)
RTCP is responsible for managing the communication quality exchange control information between the current application processes. During the RTP session, each participant periodically transmi
Rtps demo (64-bit for Linux and 32-bit for Windows): rtsp_demo.rar
1. First, the server receives a client connection request to produce an rtspclientconnection object. For details about the rtspclientconnection definition, refer to the definition of RTSP server-module from scratch.
int rtsp::v_accept(netconnection * n){ netoperation::v_accept(n); printf("client accept\n\n\n"); RtspClientConnection
// The following is the RTSP server.1 # include
The above is RTSP server.
Next, we will create RTSP forwarding server B and forward the RTSP stream of server.
1 # include
The code can be obtained in the directory of the gstreamer GST-RTSP-Server Source code examples, but
socket is placed in freadset, which is used in the select mechanism below. Map the second parameter to Handler-> handlerproc. 2. Prepare for connection execution Code : Env-> taskscheduler (). doeventloop (); The env is the same as the Env in 1. Call: basictaskscheduler0: doeventloop-> basictaskscheduler0: doeventloop. Execute select in the infinite loop of doeventloop to wait for the client to connect. Run the code: int selectresult = select (fmaxnumsockets, readset, null, null, TV _timetode
transmission and real-time playback of multimedia data streams. By using streaming media technology, the server can send stable and continuous multimedia data streams to the client, and the client can play back the data at a stable rate while receiving the data, you don't have to wait until all the data has been downloaded before playback. Due to network bandwidth, computer processing capabilities, and protocol specifications, to download a large amount of audio and video data from the Internet
http://blog.csdn.net/zhoudekuai/article/details/8539432Gst-rtsp-server Compile TestCategory: Streaming media Linux C + + 2013-01-24 19:28 2550 people read reviews (1) Favorite ReportGST-RTSP GStreamer V4L2Recently in the full-A80 platform of the 4K camera (RK3688 eight-core processor can only support 2K cameras), adjusted to let the full Chi A80 as a 4K rtsp stre
to ensure the quality of service.
B. RTCP is the control part of RTP and is used to ensure service quality and manage members.
C. RTSP is used to start and guide streaming media data from the Streaming Media Server. It can also be called the "online video recorder control protocol". It provides remote control, and the specific data transmission is handed over to RTP.
D. RSVP is the Resource Reservation Pro
Real-time stream protocol RTSP (realtimestreamingprotocol) is jointly proposed by RealNetworks and Netscape. This Protocol 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. Compared with RTSP, HTTP transmits HTML, whil
Real-time Streaming protocol RTSP (Realtimestreamingprotocol) is proposed by RealNetworks and Netscape, which defines how a one-to-many application can efficiently transfer multimedia data over an IP network. RTSP is on the architecture of RTP and RTCP, which uses TCP or RTP to complete data transfer. HTTP transmits HTML compared to RTSP, while RTP transmits mult
, 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
Real Time Streaming Protocol or RTSP (Real-Time Streaming Protocol) is an application layer protocol jointly proposed by real network and Netscape to effectively transmit streaming media data over an IP network. RTSP provides an extensible framework that enables controllable and on-demand transmission of real-time data, such as audio and video files. The source data can include on-site data feedback and sto
, and then the client accesses Nginx to watch the real-time video stream. ( Here I use Jwplayer to access this rtmp address )The second step: the configuration and application of related software
nginx-1.5.8 version currently in use
(Now you need to use the Nginx-rtmp.exe program, online can search for the software has integrated rtmp module version of Windows)2. Open the Conf folder to locate the nginx.conf file, configure rtmp(Add rtmp
Category: SIP/RTSP related 2012-09-18 14:55 1280 people read review (0) favorite Report session server streaming media server encryption network NULL RTSP introduction RTSP (Real time S Treaming Protocol) is an application-layer protocol that is presented by real Network and Netscape to effectively transmit streaming media data over an IP network.
following:
#EXTM3U
#EXT-x-stream-inf:program-id=1,
bandwidth=200000
http://ALPHA.example.com/lo/prog_index.
m3u8
#EXT-x-stream-inf:program-id=1,
bandwidth=200000
http://BETA.example.com/lo/prog_index.
m3u8
#EXT-x-stream-inf:program-id=1,
bandwidth=500000
http://ALPHA.example.com/md/prog_index.
m3u8
#EXT-x-stream-inf:program-id=1,
bandwidth=500000
http://BETA.example.com/md/prog_index.
m3u8
In the example above, when the client connects to the primary server Alpha fails, it attempts to connect
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
RTSP: Real Time Streaming Protocol)Real-time stream protocol (RTSP) establishes and controls one or more time-synced continuous streaming media, such as audio and video. Although continuous media streams and control flow may cross, RTSP itself does not send continuous streams. In other words, RTSP acts as the network r
-rtmp.exe program, online can search for the software has integrated rtmp module version of Windows)2. Open the Conf folder to locate the nginx.conf file, configure rtmp(Add rtmp{....} )3. Run the cmd command to start the Nginx.exe service(Start Nginx.exe: Start the Nginx service and see if there are any nginx.exe in the process)4. Open Web input: localhost or 127.0.0.1 Native IP(Show the interface instructions to start successfully)The third step: th
RTSP introduction (zt) Real Time Streaming Protocol or RTSP (Real-Time Streaming Protocol) is an application layer protocol jointly proposed by real network and Netscape to effectively transmit streaming media data over an IP network. RTSP provides an extensible framework that enables controllable and on-demand transmission of real-time data, such as audio and vi
data packets. therefore, the server can dynamically change the transmission rate or even the type of the payload. RTP and RTCP can be used together to optimize transmission efficiency with effective feedback and minimal overhead. Therefore, it is particularly suitable for transmitting real-time online data.
RTSPReal-Time Streaming Protocol (RTSP) is proposed by Real Networks and Netscape. This Protocol def
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.