Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwasmmediaintegration_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 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 QWASMMEDIAINTEGRATION_H
5#define QWASMMEDIAINTEGRATION_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/qplatformmediaintegration_p.h>
19
20#include <private/qwasmmediadevices_p.h>
21
22QT_BEGIN_NAMESPACE
23
24class QWasmMediaDevices;
25
27{
28public:
30
31 q23::expected<QPlatformMediaPlayer *, QString> createPlayer(QMediaPlayer *player) override;
32 q23::expected<QPlatformVideoSink *, QString> createVideoSink(QVideoSink *sink) override;
33
34 q23::expected<QPlatformAudioInput *, QString> createAudioInput(QAudioInput *audioInput) override;
35 q23::expected<QPlatformAudioOutput *, QString> createAudioOutput(QAudioOutput *q) override;
36
38 q23::expected<QPlatformCamera *, QString> createCamera(QCamera *camera) override;
39 q23::expected<QPlatformMediaRecorder *, QString> createRecorder(QMediaRecorder *recorder) override;
40 q23::expected<QPlatformImageCapture *, QString> createImageCapture(QImageCapture *imageCapture) override;
41
43 QPlatformSurfaceCapture *createScreenCapture(QScreenCapture *screenCapture) override;
44 QPlatformSurfaceCapture *createWindowCapture(QWindowCapture *windowCapture) override;
45
46protected:
50};
51
52QT_END_NAMESPACE
53
54#endif // QWASMMEDIAINTEGRATION_H
QList< QCameraDevice > videoInputs()
QPlatformVideoDevices * createVideoDevices() override
q23::expected< QPlatformCamera *, QString > createCamera(QCamera *camera) override
q23::expected< QPlatformMediaPlayer *, QString > createPlayer(QMediaPlayer *player) override
QPlatformMediaFormatInfo * createFormatInfo() override
QPlatformCapturableWindows * createCapturableWindows() override
q23::expected< QPlatformVideoSink *, QString > createVideoSink(QVideoSink *sink) override
QPlatformSurfaceCapture * createWindowCapture(QWindowCapture *windowCapture) override
q23::expected< QPlatformAudioInput *, QString > createAudioInput(QAudioInput *audioInput) override
q23::expected< QPlatformAudioOutput *, QString > createAudioOutput(QAudioOutput *q) override
QPlatformSurfaceCapture * createScreenCapture(QScreenCapture *screenCapture) override
q23::expected< QPlatformImageCapture *, QString > createImageCapture(QImageCapture *imageCapture) override
q23::expected< QPlatformMediaCaptureSession *, QString > createCaptureSession() override
q23::expected< QPlatformMediaRecorder *, QString > createRecorder(QMediaRecorder *recorder) override
QWasmMediaRecorder(QMediaRecorder *parent)