Video option in Camera app disappears when my app launches

I've found the video option in iPhone Camera is missing while my app is alive.


The video option exactly appears again right after I terminate my app.


At first, I was suspicious about the Camera access in Privacy settings, but the problem is still same when I disable the camera access.


My app uses AVFoundatation to provide video call, but the problem produces even before I use it as soon as my app launches.


Have you ever come across similar issues?

Replies

It disappears anytimes AVAudioSession is set to AVAudioSessionCategoryPlayAndRecord.