RTSP protocol. The complexity of the RTSP protocol family is mainly concentrated on the server side, because the server side need to parse video files, seek to specific video frames, and may also need to perform speed play (that is, the old DVD with the kind of twice times, 4 times times the function of the speed play
imagery , and allows simultaneous multiple streaming requirements control, and the network protocol used to transmit it is not within its definition. The server side can choose to use TCP or UDP to transmit the stream content, its syntax and operation is similar to HTTP 1.1, but does not particularly emphasize time synchronization, so the comparison can tolerate network latency. In addition, the previously mentioned allow for simultaneous multiple st
, 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
) The HTTP protocol does not have a specific transport stream. (4) HTTP transmission generally requires 2-3 channels, command and data channel separation.Second, the available live stream addressUsually when we do RTMP/RTSP development, we can build our own video server for testing. You can also directly use some of the TV station's live address, save time and effort.Here are some of the video live addresse
) The HTTP protocol does not have a specific transport stream. (4) HTTP transmission generally requires 2-3 channels, command and data channel separation.Second, the available live stream addressUsually when we do RTMP/RTSP development, we can build our own video server for testing. You can also directly use some of the TV station's live address, save time and effort.Here are some of the video live addresse
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
common monitoring and meet special requirements such as mobile phone monitoring. Considering the actual bandwidth and decoding capabilities of the network, we recommend that you use the resolution of CIF or qcif on your mobile phone. The frame rate should be lower than 15 frames.
Shows the software framework:
The net engine module is mainly responsible for obtaining data from the video server and implementing an
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
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
generally transmits a stream in the Ts,mp4 format. HTTP does not have a specific stream.
II. Implementation of the AgreementThe open source implementation of RTSP* live.com C + + http://www.live555.com * Darwin S C + + http://www.opensource.apple.com/darwinsource/* V LC c c http://www.videolan.org * mplayer c c http://www.mplayerhq.hu * Omsp/s C h ttp://streaming.polito.it/* Spook S C http://www.litech.org/spook/RTMP Implementation, non-open FM
the Ts,mp4 format. HTTP does not have a specific stream.
Ii. agreement to realize the open source implementation of RTSP * live.com c/s + http://www.live555.com* Darwin S C + + Http://www.opensource.apple.com/dar winsource/* VLC c c http://www.videolan.org* mplayer c c http://www.mplayerhq.hu * Omsp c/ S C http://streaming.polito.it/* Spook S C Http://www.litech.org/spook/RTMP implementation, non-open FMS, open-source RMTP
the difference between hls,http,rtsp,rtmp protocols:
in HTTP mode:The FLV is downloaded to the local cache by the server, and then the FLV is played back through the local connection of the netconnection, which is to play the local video, not the video of the playing server. So this flv can be found in the local cache. The advantage is that the
The rtsp is paused. the Mapache + php tool mplayer + vlc function enables camera recording and playback (only playback is used here). The technical route is recorded by mplayer. after recording, the recorded video files are played using the rtsp protocol, and the vlc is used as the rtsp server. the player control inser
Simple RTSP message interaction processC represents the RTSP client, s represents the RTSP server1. First step: Query server-side available methods1.c->s:option request//Ask S which methods are available1.s->c:option response//s The public header field of the response information includes all available methods provided
the IP address and port number of the configuration file used to listen for RTSP connections UInt32 Thenumaddrs = 0; uint32* Theipaddrs = This->getrtspipaddrs (Inprefs, thenumaddrs); UInt32 index = 0; Inportoverride This parameter is passed in as a command-line argument, which defaults to 0. -P xxx:specify The default RTSP listening port of the the server
and height. You can refer to the following code.
3 Librtmp, also very simple, just pay attention to the first to send SPS and PPS
4 Live server with Nginx+nginx_rtmp_module, Google, a lot of documents.
Four operating environment: CentOS6.4 and Ubuntu 12 under normal operation. Windows can also, multiple platforms need type unification, such as uint,byte,uint32_t, uint8_t, a little change on the good.
Five
synchronization, so it is more tolerant of network latency.5. The relationship between RTSP and RTP6. SIPSIP sessions use up to four main components: SIP user agent, SIP registration server, SIP Proxy Server, and SIP redirection server. These systems complete the SIP session by transmitting messages that include the S
Recently completed a RTSP proxy gateway, this is the second development to do RTSP protocol related development work, compared to the simple rough version of 11, this time in the underlying TCP/IP communication and RTSP protocol has a number of new accumulation, here record. Basic RTSP Protocol Interactive process to r
RTP over RTSP (TCP) (i)solution for mixed delivery of RTP over RTSP packetsRTSP-RTP over TCP-to-use TCP communication, the need to request TCP connection during RTSP SETUP. The RTSP client needs to request a TCP connection in the setup phase for the sent Setup command with which you want to use a TCP connection. The Se
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.