如何在IOS中播放下载进度视频文件
我被分配来实现一个可以从服务器下载视频文件的 iphone 应用程序,并在将视频文件写入磁盘时播放该视频;喜欢的东西
I'm assigned to implement a iphone app that can download video files from a server, and to play that video while the video file is written to the disk; something likes
(电影播放器)<--read--[######iphone flaskdisk ######]<--write---(下载器)
(Movie player)<--read--[###### iphone flaskdisk ######]<--write---(Downloader)
我知道我会使用 HTTP 视频流播放远程视频流,但我需要的是视频文件在播放后保存在 Flask mem 中.
I know that I would use HTTP video streaming play a remote video stream, but what i need is the video file is saved in flask mem after playing.
有什么建议吗?
谢谢
如果您知道如何从 URL 播放视频,则可以轻松播放视频,同时在另一个线程上下载视频(如果您时间不够)...
If you know how to play a video from a URL, you can easily play the video while simultaneously download the video on another thread (if you are short on time)...
或者,您可以创建自己的视频播放器来处理此功能.App Store 中的应用程序已经这样做了(查看任何视频下载应用程序)
Alternatively, you can create your own video player that handles this function. Application sin the App Store do already do this (check out any video downloader application)
谢谢!