I want to record video without audio using the Camera2 library (and CamEx2 class) to save on the file size. How can I do this?
Reading some threads on Stackoverflow indicates that simply by not calling setAudioSource, audio won't be recorded. This must be in the library so I can't remove it.
I was thinking I might be able to call setAudioSource using MediaRecorder.RunMethod but I don't see an option to set the source to none.
References:
https://developer.android.com/reference/android/media/MediaRecorder.html#setAudioSource(int)
https://developer.android.com/reference/android/media/MediaRecorder.AudioSource
Reading some threads on Stackoverflow indicates that simply by not calling setAudioSource, audio won't be recorded. This must be in the library so I can't remove it.
I was thinking I might be able to call setAudioSource using MediaRecorder.RunMethod but I don't see an option to set the source to none.
References:
https://developer.android.com/reference/android/media/MediaRecorder.html#setAudioSource(int)
https://developer.android.com/reference/android/media/MediaRecorder.AudioSource