18#include <QtCore/qloggingcategory.h>
42 gst_init(
nullptr,
nullptr);
43 qCDebug(lcGstreamer) <<
"Using gstreamer version: " << gst_version_string();
45 if constexpr (!GST_CHECK_VERSION(1, 22, 0)) {
46 GstRegistry* reg = gst_registry_get();
47 const auto pluginNames = {
61 for (
auto name : pluginNames) {
63 gst_registry_lookup_feature(reg,
name),
67 gst_plugin_feature_set_rank(pluginFeature.get(), GST_RANK_PRIMARY - 1);
The QAudioDecoder class implements decoding audio.
The QAudioDevice class provides an information about audio devices and their functionality.
\qmltype AudioOutput \instantiates QAudioOutput
The QCamera class provides interface for system camera devices.
static QMaybe< QPlatformAudioDecoder * > create(QAudioDecoder *parent)
static QMaybe< QPlatformAudioOutput * > create(QAudioOutput *parent)
static QMaybe< QPlatformCamera * > create(QCamera *camera)
static QMaybe< QPlatformImageCapture * > create(QImageCapture *parent)
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
GstDevice * videoDevice(const QByteArray &id)
QMaybe< QPlatformMediaPlayer * > createPlayer(QMediaPlayer *player) override
The QVideoSink class represents a generic sink for video data.
Combined button and popup list for selecting options.
QAudioDevice qMakeCustomGStreamerAudioInput(const QByteArray &gstreamerPipeline)
QAudioDevice qMakeCustomGStreamerAudioOutput(const QByteArray &gstreamerPipeline)
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
GLdouble GLdouble GLdouble GLdouble q
GLsizei GLenum GLboolean sink