How to get the audio length of Qiniu's PLmediaplayer

how is it that Qiniu"s PLmediaplayer gets the length of audio and (getDuration ()) returns a type of folat, and is always 0? How did you solve it?

Mar.21,2021

the length of time acquired should be of type long;
are the resources you acquired online or local?
can be obtained after prepare.

Menu