-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.3.1
-
None
-
Windows
-
-
4397bbfda (dev), ae4ea8507 (6.10), 6316eddcd (6.9)
-
Multimedia, weeks 18-19
According to https://doc-snapshots.qt.io/qt6-dev/qml-qtmultimedia-capturesession.html this snippet ought to be enough:
CaptureSession {id: captureSessioncamera: Camera
imageCapture: ImageCapture
{id: imageCapture}recorder: MediaRecorder
{id: recorder}videoOutput: preview}
But that will only work on linux.
On Windows it also needs:
Component.onCompleted: {
camera.start()
}
| For Gerrit Dashboard: QTBUG-104515 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 657582,2 | Doc: Add camera.start() call in CaptureSession QML documentation snippet | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
| 658612,2 | Doc: Add camera.start() call in CaptureSession QML documentation snippet | 6.10 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
| 658847,2 | Doc: Add camera.start() call in CaptureSession QML documentation snippet | 6.9 | qt/qtmultimedia | Status: MERGED | +2 | 0 |