문제

I would like to have nice player in the iPhone. The source is audio/video files from the server (for example, MP3/M4V). Let's imagine, the file is huge hence I need to stream it inside iPhone. I been researching and there are lots of possibility to do this, MPMoviePlayer or AVPlayer with AVURLAsset. I am able to do that, but now the challenge, how do you streaming the file and after finished download you save it to iphone? so that next time user does not need to re-download it again.

I been thinking to use AVAssetReader and AVAssetWriter and use CMSampleBufferRef. Anybody has another thought about this?

Thanks!

도움이 되었습니까?

해결책

I been communicating with Apple AV Developer and he confirmed that it is not possible to do this.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top