Monday, October 25, 2010

Quicktime send live streaming media RTP / RTSP


QuickTime streaming is to use real-time transport protocol (RTP, Real-Time Transport Protocol). RTP and HTTP, and FTP familiar file transfer protocol similar to, but it stresses the special needs of real-time stream.

And the difference is that HTTP and FTP, RTP does not need to download the complete video to the client computer. Instead of the small "lessons," a steady and continuous stream of data transmission lazy to ensure real-time playback (again first time, and data into the buffer needs HandShaking). Transferred to a minute of video data stream, will play a minute precision. If the connection has enough bandwidth to handle data streams, video will be played. After the data is displayed over, it will be immediately removed. If you want to look at the audience broadcast streaming services only to apply again.



Support streaming media network protocol

Real-time Transport Protocol RTP and RTCp

RTP (Real-time Transport Protocol) is used for Internet multimedia data streams on a transmission protocol. RTP is defined as the transmission in-one or one to many work situations. The aim is to provide time information and achieve synchronous flow. However, RTP is usually used to send UDP data. However, RTP can also be TCP or ATM and other protocols on top of work. When an application starts a RTP session will use two ports: one for a given RTP RTCP. RTP itself does not transmit data packets in order to access and provide a reliable delivery mechanism. Does not provide flow control or congestion control. It relies on RTCP to provide these services. RTP algorithm is usually not as an independent network layer to achieve. But as part of the application code. Real-time Transport Control Protocol RTCP.RTCP (Real-time Transport Control Protocol) and RTP to provide flow control and congestion control. In the RTP session, the participants periodically send RTCP packets. RTCP packet sent contains the number of packets, the number of lost packets and other statistics. Therefore, the server can use this information to dynamically change the transmission rate, even change the payload type. RTP and RTCP with use, they can effectively minimize the overhead of feedback and optimize the transmission efficiency. Therefore particularly suitable for real-time data transmitted online.

Real Time Streaming Protocol RTSP

Real Time Streaming Protocol RTSP (Real-time Streaming Protocol) by Real Networks and Netscape co-presented. The agreement defines a one to many applications how to effectively transmit multimedia data through the lP network. RTSP architecture located in the RTP and RTCP on top. It uses TCP or RTP for data transmission. HTTP and RTSP compared. HTTP send HTML. The RTP is a multimedia data transmission. HTTP request sent by the client, server response; use RTSP, the client and server can request that the RTSP can be both ways.






The following steps need to prepare for streaming:

* Makes the film a self-contained pre-recorded video for it, you need to decide whether to allow streaming video or video data itself contains contains possessions. His films include the film contains all the information. Video own territories included in the media orbit of other films, these films must be on the server. Its very easy to control that contains the video, should only be considered a file.

* Tip video streaming pre-recorded and live QuickTime video must be prompt. This means that each media track in the film prompted the establishment of a channel (in addition to QuickTime VR and Flash tracks, they are not streaming). Hint tracks with video, audio and other tracks are stored in the track with the film. QuickTime streaming service available to the needed software as a service to send packets of information ---- the size, the most effective protocol used, and how the video data to the entire network.

* Name the film
In order to have a good shuttle platform compatibility, identify a file to your system not the client's system files, or your browser's videos naming conflict.
Do not in its file name with spaces: "MyMovie.mov," not "My Movie.mov".
Some systems were feeling on the case. Make sure you name the movie with the correct URL link. Do not connect to the "MyMovie.mov" and to "mymovie.mov".
Often combined. Mov (QuickTime movie) file suffix to the movie name.

* Save Settings

Determine the user's settings are stored in the QuickTime movie in. You can use these settings to control certain aspects of video display. The following settings are in the QuickTime Player and QuickTime plug-in at work:
Half the size.
Double in size. Is the video with Sorenson or H.263 video decoder, the size of compressed video, which is a good movie in increasing the display size without increasing the data rate and file size.
Auto Play. In the QuickTime Player window to set this. Select the movie track from the top of the track, and automatically play. And the point of playing an effective monitoring.
The advantages of stream
* The only way to solve the live broadcast
* Can be broadcast or multicast transmissions (a data stream, many of the audience)
鈥?You can pre-recorded video random access
* Almost no hard drive to the audience
* Never be higher than the bandwidth demand
* Will not be left in the audience hard copy film
* Can be any of a streaming server in the streaming video sent into orbit
Stream have shortcomings
* Need a streaming server and / or transmission equipment
When the video data transfer rate is greater than the connection speed will be a continuous film.
* Missing data will not be recovered, often lost video data (often in the Internet on the dissemination of data will be lost, and in the local area network (Lan) will not be lost on the basic propagation)
* Get QuickTime can play some media types, such as QuickTime VR, Flash the wizard does not support streaming
* Because of firewall or NAT issues pause






相关链接:



Directory Dial Up And Connection Tools



Image Format headquarters



Shop Dictionaries Education



New accounting standards and tax law Differences on how to coordinate



OGM to AVI



Storage Games And Entertainment



RECOMMEND Puzzle And Word Games



MPG to AVI



[Death Spy: decision time] menu option to translate



Streaming Media Based On: What Is Streaming Media



"Nobunaga's Ambition 13 Heaven," the enemy in depth and around point reinforcements, waste Chaim



Source of value, the value of thinking small tree



oracle10g r2 emca command and examples of The



Fireworks 4.0 Zhezhao Daquan ---- Lesson region Zhe Zhao



QuickTime to MPG



XP And The Internet Can Not Solve The Time Synchronization



No comments:

Post a Comment