the data cannot be lost. Nnd, this way to achieve a pause, the protocol stack is crying. Unfortunately, that's what MPlayer did. So the pause time is long, it is easy to have problems.Although HTTP does not have pause support, but for pause can be optimized, the optimization method is that the media file fragmentation, fragmentation of the size of slightly less than the TCP stack buffer size is appropriate. The HTTP request only requests a fragment s
follows.
Shows the effect of the player. the URL of the video being played in the figure is rtmp: // wx.cnrmall.com/live/flv
HLS Sample Player FlowplayerHLS Sample Player Flowplayer is a FlowPlayer with the added HLS Plugin extension. After the HLS Plugin is added, FlowPlayer adds support for
played in the figure is local Sintel.mp4rtmp Sample player Jwplayer is a web player that supports rtmp, as shown in the code below.The effect of the player is as shown, the URL of the video being played in the figure is rtmp://wx.cnrmall.com/live/flvHLS Sample player Flowplayerhls sample player FlowPlayer is the flowplayer that has been added to the HLS plugin extension. With the addition of HLS plugin, Fl
Preface
Recent projects require streaming media playback, the backend provides three kinds of streaming data (Rtsp,rtmp,hls), in different scenarios may be used in different ways to play, you need to adapt to support all streaming data playback. Spent a period of time study
1. Why to use HTTP Live streamingRefer to WikipediaHTTP Live Streaming (abbreviated as HLS) is an HTTP-based streaming network Transfer protocol proposed by Apple. is part of Apple's QuickTime X and iphone software system. It works by dividing the entire stream into small HTTP-based files to download, one at a time. When media
be compatible with the older version of the platform, need to support the baseline Profile version 3.0.2. Audio encoding compression formatHe-aac/aac-lc,stereo or MP3 (MPEG-1 Audio Layer 3), stereo.Second, talk about the video streaming technology requirements1. If the video stream is longer than 10 minutes or the video stream is over 5MB in five minutes, the HTTP Live stream technology scenario needs to b
[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
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 stream
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 streaming Protocol) is a multimedia
to real-time requirements are very high, such as 0.5s or less, this is a good choice. The former mimic Spydroid wrote a proposed RTSP server, in fact, is options,describe,setup,play,pause,teardown these steps, the agreement with the most extensive, on-line introduction is more. To really understand the RTSP protocol, the C + + language is good to see live555.RTMP protocol, own recent research, if interested, can look at my other articles.RELATED Links: http://www.52player.com/VideoPlayer/2014/1
Recently, we need to test whether Android supports streaming media playing through the HLS protocol. Some examples on the Internet are used to play local files, and some online files are not streaming media using the HLS protocol. According to the updated description of Android3.0, Android3.0 has started to
/hlsWhen you see the generated ts files, you also generate a " 你的m3u8的文件名称.m3u8“ fileTest Pull StreamWith the above configuration, we can see the streamed stream in both rtmp and HLS two modes. Note that if you use HTTP, you are listening on port 8080, which is written in the config file.(1) Using rtmp: (use VLC to verify playback)RTMP://192.168.1.100/hls/movie(2) Play with HLShttp://192.168.1.100:8080/
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.