Pramod Kumar

Results 1 comments of Pramod Kumar

Try to use this func getRecordedDuration() -> Float64 { guard let session = self.recorder?.session else { return 0.0 } let currentTime = session.duration return CMTimeGetSeconds(currentTime) }