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
qgstreamer_platformspecificinterface_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 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#ifndef GSTREAMER_PLATFORMSPECIFICINTERFACE_P_H
4#define GSTREAMER_PLATFORMSPECIFICINTERFACE_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <QtMultimedia/private/qplatformmediaintegration_p.h>
18
19typedef struct _GstPipeline GstPipeline; // NOLINT (bugprone-reserved-identifier)
20typedef struct _GstElement GstElement; // NOLINT (bugprone-reserved-identifier)
21
23
24class Q_MULTIMEDIA_EXPORT QGStreamerPlatformSpecificInterface
26{
27public:
29
30 static QGStreamerPlatformSpecificInterface *instance();
31
32 virtual QAudioDevice makeCustomGStreamerAudioInput(const QByteArray &gstreamerPipeline) = 0;
33 virtual QAudioDevice makeCustomGStreamerAudioOutput(const QByteArray &gstreamerPipeline) = 0;
34 virtual QCamera *makeCustomGStreamerCamera(const QByteArray &gstreamerPipeline,
35 QObject *parent) = 0;
36
37 // Note: ownership of GstElement is not transferred
39
42};
43
45
46#endif // GSTREAMER_PLATFORMSPECIFICINTERFACE_P_H
The QAudioDevice class provides an information about audio devices and their functionality.
\inmodule QtCore
Definition qbytearray.h:57
The QCamera class provides interface for system camera devices.
Definition qcamera.h:28
virtual QCamera * makeCustomGStreamerCamera(GstElement *, QObject *parent)=0
virtual QAudioDevice makeCustomGStreamerAudioInput(const QByteArray &gstreamerPipeline)=0
virtual GstPipeline * gstPipeline(QMediaPlayer *)=0
virtual GstPipeline * gstPipeline(QMediaCaptureSession *)=0
virtual QCamera * makeCustomGStreamerCamera(const QByteArray &gstreamerPipeline, QObject *parent)=0
virtual QAudioDevice makeCustomGStreamerAudioOutput(const QByteArray &gstreamerPipeline)=0
The QMediaCaptureSession class allows capturing of audio and video content.
The QMediaPlayer class allows the playing of a media files.
\inmodule QtCore
Definition qobject.h:103
Combined button and popup list for selecting options.
struct _GstPipeline GstPipeline
struct _GstElement GstElement