I am looking for a way to provide a "record" button in my Unity interface. This button would allow the user to record video, with similar results as calling to "adb shell mlcapture". I am interested in exposing some of the mlcapture settings to the user.
I understand there is a controller based way to capture but but it does not allow me to set the capture parameters.
I also found MLMediaRecorder in the Unity API documentation but it's not clear to me how to interact with this. It does not seem to provide the same amount of options as mlcapture
Is there a way to execute the mlcapture command from within Unity?
Barring this is there a unity or native api I can interact with?