基于iOS的多功能流媒体播放系统设计
发布时间:2019-04-11 18:24
【摘要】:早期的移动互联网只能实现简单的应用,如文字浏览,收发E-mail等,但近几年来,伴随着以智能手机,平板电脑为代表的移动智能设备的飞速发展以及人们对移动互联网应用需求的增加,许多以往只能在桌面PC上实现的功能也逐渐在移动平台得到了应用,流媒体便是其中之一。移动流媒体由于实现平台的特殊性,要获得良好的用户体验,并不能直接照搬桌面端的实现方案,而是需要针对移动平台的特性进行设计和优化。本论文便针对这一课题,在目前较为主流的移动智能平台iOS上,设计并实现一整套流媒体播放系统。由于移动流媒体应用范围较广,而不同的应用场景也提出了不同的需求,所以针对不同的应用场景,本文采用了不同的实现方案,这些应用场景及其相应的实现方案包括以下三个方面:(1)针对实时视频直播(应用于视频监控,视频聊天等场合),采用了实时的流媒体播放协议RTSP/RTCP/RTP搭建了实时播放系统。服务器端采用了能实时编码RTSP视频流的IP Camera网络摄像头,iOS播放器端则采用了FFmpeg库进行解码播放。(2)针对非实时视频直播(应用于网络电视直播等场合),采用了HLS(HTTP Live Streaming)协议搭建了一套非实时直播系统。服务器端采用了Flash Media Live Encoder(用于视频编码)和Flash Media Server(用于视频发布)搭建,iOS客户端则采用苹果自带的MediaPlayer框架进行解码。(3)针对视频点播,采用了HLS协议搭建了一套定时采集监控视频以及提供视频点播的系统。服务器端采用FFmpeg(用于定时采集监控视频及编码),Media File Segmenter(用于视频分割及索引文件的生成)以及Apache Web服务器(用于视频发布)搭建,iOS客户端则采用苹果自带的MediaPlayer框架进行解码。此外,除了实现基本的播放功能,本文也尝试充分利用iOS移动设备具备的特性,对播放系统的功能进行扩展,以实现传统PC端不具备的功能。这些功能包括触摸云台操控,AirPlay等。
[Abstract]:The early mobile Internet could only achieve simple applications, such as text browsing, receiving and receiving E-mail, etc., but in recent years, along with smart phones, With the rapid development of mobile intelligent devices represented by tablet computers and the increasing demand for mobile Internet applications, many functions previously implemented only on desktop PC have been gradually applied on mobile platforms, and streaming media is one of them. Because of the particularity of the mobile streaming media platform, in order to obtain a good user experience, it is not necessary to copy the desktop solution directly, but to design and optimize the characteristics of the mobile platform. Aiming at this subject, this paper designs and implements a set of streaming media playback system on the mainstream mobile intelligent platform iOS. Because mobile streaming media has a wide range of applications, and different application scenarios also put forward different requirements, so for different application scenarios, this paper adopts different implementation schemes. These application scenarios and their corresponding implementation schemes include the following three aspects: (1) for real-time video broadcast (for video surveillance, video chat and other occasions), The real-time streaming media playing protocol RTSP/RTCP/RTP is used to build the real-time playing system. The server uses a IP Camera webcam which can encode RTSP video stream in real time, and the iOS player uses FFmpeg library to decode and play. (2) for non-real-time video broadcast (applied to network TV broadcast and other occasions), HLS (HTTP Live Streaming) protocol is used to build a set of non-real-time live broadcast system. The server side uses Flash Media Live Encoder (for video coding) and Flash Media Server (for video publishing) to build, while the iOS client uses Apple's own MediaPlayer framework for decoding. (3) for video-on-demand (VOD), The HLS protocol is used to set up a set of time collecting and monitoring video and video-on-demand (VOD) system. The server side is built with FFmpeg (used to capture and monitor video regularly and encode), Media File Segmenter (for video segmentation and index file generation) and Apache Web server (for video publishing). The iOS client uses Apple's own MediaPlayer framework to decode. In addition to realizing the basic playback functions, this paper also tries to make full use of the characteristics of iOS mobile devices to expand the functions of the playback system, in order to realize the functions that the traditional PC side does not have. These features include touch head manipulation, AirPlay, and so on.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN919.81
本文编号:2456650
[Abstract]:The early mobile Internet could only achieve simple applications, such as text browsing, receiving and receiving E-mail, etc., but in recent years, along with smart phones, With the rapid development of mobile intelligent devices represented by tablet computers and the increasing demand for mobile Internet applications, many functions previously implemented only on desktop PC have been gradually applied on mobile platforms, and streaming media is one of them. Because of the particularity of the mobile streaming media platform, in order to obtain a good user experience, it is not necessary to copy the desktop solution directly, but to design and optimize the characteristics of the mobile platform. Aiming at this subject, this paper designs and implements a set of streaming media playback system on the mainstream mobile intelligent platform iOS. Because mobile streaming media has a wide range of applications, and different application scenarios also put forward different requirements, so for different application scenarios, this paper adopts different implementation schemes. These application scenarios and their corresponding implementation schemes include the following three aspects: (1) for real-time video broadcast (for video surveillance, video chat and other occasions), The real-time streaming media playing protocol RTSP/RTCP/RTP is used to build the real-time playing system. The server uses a IP Camera webcam which can encode RTSP video stream in real time, and the iOS player uses FFmpeg library to decode and play. (2) for non-real-time video broadcast (applied to network TV broadcast and other occasions), HLS (HTTP Live Streaming) protocol is used to build a set of non-real-time live broadcast system. The server side uses Flash Media Live Encoder (for video coding) and Flash Media Server (for video publishing) to build, while the iOS client uses Apple's own MediaPlayer framework for decoding. (3) for video-on-demand (VOD), The HLS protocol is used to set up a set of time collecting and monitoring video and video-on-demand (VOD) system. The server side is built with FFmpeg (used to capture and monitor video regularly and encode), Media File Segmenter (for video segmentation and index file generation) and Apache Web server (for video publishing). The iOS client uses Apple's own MediaPlayer framework to decode. In addition to realizing the basic playback functions, this paper also tries to make full use of the characteristics of iOS mobile devices to expand the functions of the playback system, in order to realize the functions that the traditional PC side does not have. These features include touch head manipulation, AirPlay, and so on.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN919.81
【参考文献】
相关期刊论文 前1条
1 陈丹;郭先会;;RTP/RTCP协议在3GPP移动流媒体业务中的研究与应用[J];山西电子技术;2010年06期
,本文编号:2456650
本文链接:https://www.wllwen.com/kejilunwen/wltx/2456650.html