I´m getting a problem in using CamEx2.
I can´t find the problem. Any hints?
If it is Relevant: Device is Samsund Note 8, Android 8.0
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
** Activity (main) Pause, UserClosed = false **
** Activity (capturevideo) Create, isFirst = true **
FULL
SetState(Open false, Busy false, Video true)
** Activity (capturevideo) Resume **
CaptureVideo.Activity_Resume
CaptureVidepenCamera(false)
SetState(Open false, Busy false, Video true)
PrepareSurface
SetState(Open false, Busy false, Video true)
PrepareSurface VIDEOMODE
(Size) 1280x720 ' PreviewSize
(Size) 1920x1080 ' CaptureSize
PrepareSurface VIDEOMODE
PrepareSurfaceForVideo(2, /storage/emulated/0/Android/data/de.fbdn.videohelper/files/Uploads, temp-AB787_3588_4214_1542279717409.mp4)
CloseSession
Wait For (CreateSurface) Complete (Result As Boolean)
Camera.CreateMediaRecorder
Camera.StartSession
camex2_startpreview (java line: 1417)
java.lang.IllegalArgumentException: CaptureRequest contains unconfigured Input/Output Surface!
at android.hardware.camera2.CaptureRequest.convertSurfaceToStreamId(CaptureRequest.java:582)
at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:938)
at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:984)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:238)
at anywheresoftware.b4a.objects.Camera2.SetRepeatingRequest(Camera2.java:359)
at de.fbdn.videohelper.camex2._startpreview(camex2.java:1417)
at de.fbdn.videohelper.capturevideo$ResumableSub_PrepareSurface.resume(capturevideo.java:1338)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:245)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:185)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:171)
at anywheresoftware.b4a.keywords.Common$14.run(Common.java:1736)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6940)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
I can´t find the problem. Any hints?
If it is Relevant: Device is Samsund Note 8, Android 8.0
Last edited: