Skip to content

Crash on HFR video record. #236

@Uzver123

Description

@Uzver123

Normal video recording work however when using 1080p HFR or 720p HFR mode it does crash as soon as press record button log's show this.

--------- beginning of crash
E/AndroidRuntime: FATAL EXCEPTION: ModuleHandlerAbstract
E/AndroidRuntime: Process: troop.com.freedcam, PID: 10732
E/AndroidRuntime: java.lang.IllegalArgumentException: Output surface list must not be null and the size must be no more than 2
E/AndroidRuntime: 	at android.hardware.camera2.impl.CameraDeviceImpl.createConstrainedHighSpeedCaptureSession(CameraDeviceImpl.java:636)
E/AndroidRuntime: 	at freed.cam.apis.camera2.CaptureSessionHandler.CreateHighSpeedCaptureSession(CaptureSessionHandler.java:360)
E/AndroidRuntime: 	at freed.cam.apis.camera2.modules.VideoModuleApi2.startPreviewVideo(VideoModuleApi2.java:418)
E/AndroidRuntime: 	at freed.cam.apis.camera2.modules.VideoModuleApi2.startRecording(VideoModuleApi2.java:211)
E/AndroidRuntime: 	at freed.cam.apis.camera2.modules.VideoModuleApi2.lambda$startStopRecording$0$freed-cam-apis-camera2-modules-VideoModuleApi2(VideoModuleApi2.java:119)
E/AndroidRuntime: 	at freed.cam.apis.camera2.modules.VideoModuleApi2$$ExternalSyntheticLambda2.run(Unknown Source:2)
E/AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime: 	at android.os.Looper.loop(Looper.java:233)
E/AndroidRuntime: 	at android.os.HandlerThread.run(HandlerThread.java:67)
--------- beginning of system

Smartphone (please complete the following information):

  • Device: OnePlus 8 Pro
  • OS: Android 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions