开发者

How to get how much data application have download?

开发者 https://www.devze.com 2022-12-16 03:29 出处:网络
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 metada

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

精彩评论

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

关注公众号