MediaChooser depends on: FileProvider, Phone, B4XPages, Audio
The other libraries such as SMM and ExoPlayer are not needed unless you want to show the media.
Camera2 is a lower level solution. For simple cases, it is usually better to use an intent based solution. You can take the CaptureImage code from MediaChooser.