Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134750

Modernize Android CameraSession initialization

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 6.8
    • Multimedia
    • None
    • Android
    • Multimedia, weeks 18-19, Multimedia Current w28 ...

      Currently the FFmpeg camera backend on Android uses the following API to initialize the camera stream: https://developer.android.com/reference/android/hardware/camera2/CameraDevice#createCaptureSession(java.util.List%3Candroid.view.Surface%3E,%20android.hardware.camera2.CameraCaptureSession.StateCallback,%20android.os.Handler)

      This API has since been deprecated in favor of the newer API: https://developer.android.com/reference/android/hardware/camera2/CameraDevice#createCaptureSession(java.util.List%3Candroid.view.Surface%3E,%20android.hardware.camera2.CameraCaptureSession.StateCallback,%20android.os.Handler)

      Doing so should gives us more configuration controls in regards to how the camera session behaves. Also, doing this will reduce technical debt in the codebase. It might also gives insight on performance issues such as: https://bugreports.qt.io/browse/QTBUG-132088

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtmultimediateam Qt Multimedia Team
            npskalerud Nils Petter Skålerud
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes