Akash Patel Akash Patel - 4 months ago 46
Swift Question

How to change the speed of playing audio in AVPlayer?

I am working on AVPlayer. I am done with Pause, Play and fastForward of the playing audio stream. I want to change the playing speed of audio stream while playing. I have searched a lot, but not getting accurate direction. So, help me with this.


I hope i will help you, speed of play back depends upon the value for the ratevalue greater than 1.0 is faster and to slow playback use less than 1.0.