How to play an in downloading progress video file in IOS

人走茶凉 提交于 2019-12-11 23:43:35

问题


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

(Movie player)<--read--[###### iphone flaskdisk ######]<--write---(Downloader)

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.

Any suggestion?

Thanks


回答1:


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)...

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)

Thanks!



来源:https://stackoverflow.com/questions/12399699/how-to-play-an-in-downloading-progress-video-file-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!