is it possible to have level metering in AVQueuePlayer on iOS?

109 views Asked by At

Using AVAudioPlayer I can get the volume in RMS or peak by calling peakPowerForChannel; unluckly I have an implementation using AVQueuePlayer, because the app need to continue playing in background.

is it possible to have level metering in AVQueuePlayer on iOS? Should I switch to AVAudioPlayer? in this case, how to avoid the app stopping playing when backgrounded?

0

There are 0 answers