CrazyOrr / FFmpegRecorder

An Android video recorder using JavaCV and FFmpeg.
201 stars 48 forks source link

Flash option #45

Closed awaisashreact closed 6 years ago

awaisashreact commented 6 years ago

is there any way to add flash option in it?

CrazyOrr commented 6 years ago

Check out the Camera API

Camera.Parameters parameters = mCamera.getParameters();
List<String> supportedFlashModes = parameters.getSupportedFlashModes();
parameters.setFlashMode(Camera.Parameters.FLASH_MODE_XX);
awaisashreact commented 6 years ago

Thanks

On Fri, Apr 20, 2018, 10:44 AM Lei Wang notifications@github.com wrote:

Check out the Camera API

Camera.Parameters parameters = mCamera.getParameters();List supportedFlashModes = parameters.getSupportedFlashModes(); parameters.setFlashMode(Camera.Parameters.FLASH_MODE_XX);

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CrazyOrr/FFmpegRecorder/issues/45#issuecomment-382984390, or mute the thread https://github.com/notifications/unsubscribe-auth/AkvWy978zbYqARI5mBHV5Yhpokq471BUks5tqXWngaJpZM4Tba8r .