-
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
Description
all is going well, but if you try to press the power button (lock button) surfaceCreatedis not trigerred (SurfaceHolder.Callback surfaceHolderCallback @ line 90)
so this block (@ line 195)
public void start() { if (surfaceView != null && surfaceHolderCallback != null) { //if surface already created, we can start camera if (surfaceCreated) { startCameraView(context, cameraSource, surfaceView); } else { //startCameraView will be invoke in void surfaceCreated surfaceView.getHolder().addCallback(surfaceHolderCallback); } } }
start camera view will never be called. any fix. ?
Reactions are currently unavailable