i am using ReplayKit's RPScreenRecorder.shared().startCapture method to record screen and microphone, but i am facing an issue. if i play AVPlayer while ScreenRecording, the microphone stops recording audio. Below are two scenario. in first everything working fine but in second voice recording not working.
started AVPlayer and then start screenRecording, AVPlayer's Audio stop and my screen and microphone start recording
started screenRecording and working fine. then i start the AVPlayer and when AVPlayer play the audio the voice recording is stopped