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
qgstreamervideodevices_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 QGSTREAMERMEDIADEVICES_H
5#define QGSTREAMERMEDIADEVICES_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/qplatformvideodevices_p.h>
19#include <gst/gst.h>
20#include <qaudiodevice.h>
21#include <vector>
22
24
26
28{
29public:
32
33 QList<QCameraDevice> videoDevices() const override;
34 GstDevice *videoDevice(const QByteArray &id) const;
35
38
39private:
40 struct QGstRecordDevice
41 {
42 QGstDeviceHandle gstDevice;
44 };
45
46 quint64 m_idGenerator = 0;
47 std::vector<QGstRecordDevice> m_videoSources;
48
49 QGstDeviceMonitorHandle m_deviceMonitor;
50};
51
53
54#endif
\inmodule QtCore
Definition qbytearray.h:57
GstDevice * videoDevice(const QByteArray &id) const
QList< QCameraDevice > videoDevices() const override
QGstreamerVideoDevices(QPlatformMediaIntegration *integration)
void removeDevice(QGstDeviceHandle)
void addDevice(QGstDeviceHandle)
Combined button and popup list for selecting options.
GLenum GLuint id
[7]
unsigned long long quint64
Definition qtypes.h:61