201503121644_ "iOS Live protocol related"

Source: Internet
Author: User
Tags apple video

I. Basic knowledge:

1. Video format: + h, audio format AAC;

2. The traditional live broadcasting protocol has Rtmp,rtsp,mms...

3. The Apple System protocol is HLS, the Apple video format is the m3u8 format, through which the resource video is segmented into a very small video to be downloaded continuously, the small video format is mpeg-ts format;

Two. Technical steps

1. Capture the video source and audio source data (DirectShow(or other) technology )

2. H264 encoding and AAC encoding of raw data ( calls to libx264 and LIBFAAC)

3. Video and audio data encapsulated as Mpeg-ts package

4.HLS segmentation Generation Strategy and m3u8 index file

5.HTTP Transport Protocol

Three. Program Framework and implementation

Four. Original link

Http://www.cnblogs.com/haibindev/archive/2013/01/30/2880764.html

201503121644_ "iOS Live protocol related"

Related Article

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.