AVFoundationRecorder icon indicating copy to clipboard operation
AVFoundationRecorder copied to clipboard

How to play a paused audio ?

Open alirazamsp opened this issue 3 years ago • 0 comments

It looks like I can't open a paused audio and play it. I want to record a piece of audio, pause audio recorder, play and listen it. But when I click on play button, It says "Open failed. The operation could not be completed".

Below is the line that throws this error: self.player = try AVAudioPlayer(contentsOf: url!)

alirazamsp avatar Mar 07 '21 06:03 alirazamsp