Is it possible to limit fps range in android camera.. tried to change the values in .setPreviewFpsRange()... but frame rate are not changed.. it comes continuously 30 frames per second
You can use public List<int[]> getSupportedPreviewFpsRange ()
to check what FPS range supported by your device. Here is mine:
preview-fps-range-values=(10000,10000),(15000,15000),(15000,30000),(30000,30000);
so if I want to change the fps to 15, I can setPreviewFpsRange(15000,15000)
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With