Enable microphone if you want to use microphone while recording.
You need to call this method before calling StartRecording() to let the new recording consider microphone.
ReplayKitManager.SetMicrophoneStatus(enable: true);
On Android, Google won't support recording internal/game audio. So the game music can only be recorded only through microphone.
Example
public void SetMicrophoneStatus(bool enable){return ReplayKitManager.SetMicrophoneStatus(enable);}