开发者

How to get how much data application have download?

My application is streaming live video, I want to alert them for after every 100MB download.

Any help wil开发者_C百科l be appreciated.


Not easily because MPMoviePlayer internals doesn't reveal metadata about the stream.

If you actually knew for certain the data FPS and resolution (or bitrate for audio), using the elapsed time you could do an adhoc calculation by dividing them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜