开发者

In Android media player, how do I get "bytes loaded"?

开发者 https://www.devze.com 2023-02-10 06:00 出处:网络
I am working on android media players. I want to know how to get the numb开发者_开发知识库er of bytes that have been loaded since the video streaming starts.

I am working on android media players. I want to know how to get the numb开发者_开发知识库er of bytes that have been loaded since the video streaming starts.

Is there any API or way to compute that?


There's no current way to do this. All you can do is register an OnBufferingUpdateListener to receive the percentage of the bytes buffered, as its buffer progress increases.

0

精彩评论

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