Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qandroidmediaencoder_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QANDROIDMEDIAENCODER_H
5#define QANDROIDMEDIAENCODER_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qplatformmediarecorder_p.h>
19#include <private/qplatformmediacapture_p.h>
20
22
25
27{
28public:
29 explicit QAndroidMediaEncoder(QMediaRecorder *parent);
30
31 bool isLocationWritable(const QUrl &location) const override;
32 QMediaRecorder::RecorderState state() const override;
33 qint64 duration() const override;
34
36
37 void setOutputLocation(const QUrl &location) override;
39 void stop() override;
40
41private:
43
45 QAndroidMediaCaptureSession *m_service = nullptr;
46};
47
49
50#endif // QANDROIDMEDIAENCODER_H
AVFCameraSession * m_session
void setOutputLocation(const QUrl &location) override
bool isLocationWritable(const QUrl &location) const override
void record(QMediaEncoderSettings &settings) override
QMediaRecorder::RecorderState state() const override
qint64 duration() const override
QAndroidMediaEncoder(QMediaRecorder *parent)
void setCaptureSession(QPlatformMediaCaptureSession *session)
\inmodule QtMultimedia
RecorderState
\qmlproperty enumeration QtMultimedia::MediaRecorder::recorderState
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
GLint location
long long qint64
Definition qtypes.h:60
QSettings settings("MySoft", "Star Runner")
[0]