| Wave of mobile Internet era has come. The major social platforms are migrating from personal mobile devices to personal computers. The rapid development of mobile Internet also has played a significant role in promoting of sharing video content on the social website. With the issuance of4G operations licenses, the constraints on the network speed becomes the past. Business integrating of voice, video and other forms of mobile video content sharing features will become a new growth point of mobile services. In this era of information explosion, it is very interesting to notice that real-time information, real-time live video has become more and more important in social sharing branch.The topic of this paper is aiming at using P2P technology to implement the live video capability on iOS platform. This paper analysis the requirements and gives the overall design, including a top-level module, a network module and a video module. The top-level module is for the management and coordination of other moduls, while providing a simple-to-use interface. The video module consists of video capture module, streaming codec module, video playback module and video file migration module. Network module consisting of two parts which is the HTTP server and P2P network. This paper describes functional requirements and design ideas of each key technologies.Based on the key technologies within all the modules, as well as the realization of ideas, this article focuses on detailed design and implementation of video broadcast functions. This paper comes out a groundbreaking ability in real-time video hardware-encoding on the iOS devices. Through it the app can reduce the resource consumption of video encoding. As well as the app can improving encoding efficiency and quality. In video playback section, the article use Apple’s HTTP live stream technology in local app to utilize iOS built-in media player. In P2P part, the framework for LAN game is used to transfer video stream. This also achieved good results.In this paper, all the key modules are functionally tested to verify that the implementation of the framework is consistent with the expected results. Finally, this paper gives a brief summary and outlook for the future research. |