PlayerView
PlayerView copied to clipboard
Video has no audio
Playing a video with audio after recording works fine but when the app exits then re open again, when playing the same video it has no audio anymore.
Now fix! Just add: try! AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback, with: []) in viewWillAppear()