Add 'recordAudio' switch
This PR adds a 'recordAudio' option to the startRecording method of ScreenRecorder. If recordAudio is false then the screen is recorded without an audio track.
The sample app is also updated to include a "Start Recording Without Audio" button.
A minor change is that when recordAudio is false, the RPRecorder.isMicrophoneEnabled is also false, which ensures that the ensuing permissions dialog doesn't mention the microphone in that scenario.
I will love to have that ! For my capacitor plugin https://github.com/riderx/capacitor-screen-recorder
This solutions works great, but I have one use case where I can't use it. I want to switch the audio recording ON and OFF meanwhile the video keeps playing. I tried different things but so far does not work, so you have any solution accesible for this?