SwiftyCam
SwiftyCam copied to clipboard
Shared AudioSession set to AVAudioSessionCategoryPlayAndRecord but never set back
As titled. In SwiftCamViewController.swift, the shared AVAudioSession instance is set to AVAudioSessionCategoryPlayAndRecord, but never set back (to say, AVAudioSessionCategorySoloAmbient).
This can cause all sorts of trouble down the road for other audio or video players.