ios AVAudioPlayer get wrong duration

I use NCMusicEngine to achieve playing mp3 while downloading But when I play some specific remote mp3 file I get the duration of mp3 is wrong, example I get the value is 58 it shoule be 29 It looks like double of the actual value , then I play the remote mp3 in chrome ,it works fine,

I try to use AVAssetURL to get the duration of remote mp3 file ,the same error is happen

what happen?


Source: ios

Leave a Reply