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"