Open ghost opened 8 years ago
Hi,
perhaps it will help
add this on VideoStream.java around line 600 & 660
if (parameters.getSupportedFocusModes().contains(
Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO)) {
parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);
}
Hi @dvidz ,
I tried this but it didn't work :( Can you suggest some other solution
Hi Dvidz, Even I tried your code, but It din't help. Is there any other way?
Try to change :
Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO
by
Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE
Thanks a lot @dvidz : Our problem is solved :-)
Thanks a ton dvidz. Even my problem is solved.
Hi All,
I am trying to implement the autofocus feature in my livestreaming project. I initially made a sample native Android project as mentioned in this link [http://android-er.blogspot.in/2011/01/start-camera-auto-focusing-autofocus.html ]
However, when I am trying to do the same using libstreaming, I am not getting the desired result.
Here is the code in my live streaming project that uses libstreaming