This page comes from URL: https://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/Introduction/Introduction.html
[Correct the error, and be diligent]
If you are interested in the following:
1. stream to iPhone, iPod Touch, iPad, or Apple TV Devices
2. Real-time stream events, not using specialized server software
3. Carry encryption and verification commands to deliver video streams
You should learn
Live streaming ):
(HTTP
Live streaming) allows you to send audio and video streams from common Web servers over HTTP and play back on iOS devices. It supports live broadcast and pre-recorded content (video needs), and multiple alternative streams with different bit rates (used to adapt to the network). When the network bandwidth of your software changes, you can only switch the stream. HTTP live streaming also provides media encryption and user authentication, allowing publishers to protect their work.
Understand the framework, from the left-side audio and video input, after the Media Encoder encoding for the MPEG-2 TS stream, through the Apple's tools of stream segmenter after the encoded TS stream into many pieces, and maintain a time index table (.M3U8
Index
Files). Then, these files can be stored in the website directory and downloaded and played by HTTP requests.
Both the primary index and alternate index (translation may be inaccurate) are.M3U8
Playlist
Format. The Master Index is only downloaded once. During the live broadcast, the alternate index is reloaded on a regular basis (during the live broadcast, the server sets the buffer Delta time, and the stream data is replaced with the index table. The user end broadcasts a table and downloads it again .??). In the primary index, the first alternate index corresponds to the first stream, followed by the user's choice in the alternate stream through valid bandwidth.
Important: iPhone and iPad applications use HTTP
Live streaming ).
(The last few directories are not translated at the moment (the level is relatively low ). This article is only a record of low technical content .]
There is also an article on implementation: http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/