(HTTP live streaming]

Source: Internet
Author: User

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 (.M3U8Index
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.M3U8Playlist
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/




Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.