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

Modernize Android CameraSession initialization

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8
    • Multimedia
    • None
    • Android

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes