SwiftyCam icon indicating copy to clipboard operation
SwiftyCam copied to clipboard

Shared AudioSession set to AVAudioSessionCategoryPlayAndRecord but never set back

Open biscottigelato opened this issue 6 years ago • 0 comments

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.

biscottigelato avatar Mar 06 '18 23:03 biscottigelato