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
qgstreamerintegration_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 QGSTREAMERINTEGRATION_H
5#define QGSTREAMERINTEGRATION_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 <QtMultimedia/private/qplatformmediaintegration_p.h>
19#include <QtMultimedia/private/qgstreamer_platformspecificinterface_p.h>
20
21#include <gst/gst.h>
22
24
26
35
37{
38public:
40
45
46 QMaybe<QPlatformAudioDecoder *> createAudioDecoder(QAudioDecoder *decoder) override;
47 QMaybe<QPlatformMediaCaptureSession *> createCaptureSession() override;
48 QMaybe<QPlatformMediaPlayer *> createPlayer(QMediaPlayer *player) override;
49 QMaybe<QPlatformCamera *> createCamera(QCamera *) override;
50 QMaybe<QPlatformMediaRecorder *> createRecorder(QMediaRecorder *) override;
51 QMaybe<QPlatformImageCapture *> createImageCapture(QImageCapture *) override;
52
53 QMaybe<QPlatformVideoSink *> createVideoSink(QVideoSink *sink) override;
54
55 QMaybe<QPlatformAudioInput *> createAudioInput(QAudioInput *) override;
56 QMaybe<QPlatformAudioOutput *> createAudioOutput(QAudioOutput *) override;
57
59 GstDevice *videoDevice(const QByteArray &id);
60
62
63protected:
66
68};
69
71
72#endif
QMediaPlayer player
Definition audio.cpp:213
The QAudioDecoder class implements decoding audio.
The QAudioDevice class provides an information about audio devices and their functionality.
\qmltype AudioInput \instantiates QAudioInput
Definition qaudioinput.h:19
\qmltype AudioOutput \instantiates QAudioOutput
\inmodule QtCore
Definition qbytearray.h:57
The QCamera class provides interface for system camera devices.
Definition qcamera.h:28
QAudioDevice makeCustomGStreamerAudioInput(const QByteArray &gstreamerPipeline) override
QAudioDevice makeCustomGStreamerAudioOutput(const QByteArray &gstreamerPipeline) override
QPlatformVideoDevices * createVideoDevices() override
QPlatformMediaFormatInfo * createFormatInfo() override
QMaybe< QPlatformCamera * > createCamera(QCamera *) override
QMaybe< QPlatformVideoSink * > createVideoSink(QVideoSink *sink) override
QGStreamerPlatformSpecificInterfaceImplementation m_platformSpecificImplementation
QMaybe< QPlatformImageCapture * > createImageCapture(QImageCapture *) override
QAbstractPlatformSpecificInterface * platformSpecificInterface() override
QMaybe< QPlatformMediaRecorder * > createRecorder(QMediaRecorder *) override
QMaybe< QPlatformAudioDecoder * > createAudioDecoder(QAudioDecoder *decoder) override
QMaybe< QPlatformMediaCaptureSession * > createCaptureSession() override
QMaybe< QPlatformAudioInput * > createAudioInput(QAudioInput *) override
const QGstreamerFormatInfo * gstFormatsInfo()
QMaybe< QPlatformAudioOutput * > createAudioOutput(QAudioOutput *) override
static QGstreamerIntegration * instance()
GstDevice * videoDevice(const QByteArray &id)
QMaybe< QPlatformMediaPlayer * > createPlayer(QMediaPlayer *player) override
\inmodule QtMultimedia
The QMediaPlayer class allows the playing of a media files.
\inmodule QtMultimedia
static QPlatformMediaIntegration * instance()
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.
GLsizei GLenum GLboolean sink