![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsyntheticpipewirevideosource_p.h>
Static Public Member Functions | |
| static QSyntheticPipeWireVideoSourceConfig | screenCast () |
| A screen-cast source, as xdg-desktop-portal's ScreenCast interface hands out. | |
| static QSyntheticPipeWireVideoSourceConfig | camera (int index=0) |
| A camera source, as the Camera interface hands out: media.class Video/Source plus media.role Camera. | |
Public Attributes | |
| QByteArray | loopName = QByteArrayLiteral("qt-fake-sc") |
| QByteArray | nodeName = QByteArrayLiteral("qt-fake-screencast") |
| QByteArray | nodeDescription = QByteArrayLiteral("Qt Multimedia synthetic screen cast source") |
| QByteArray | mediaClass = QByteArrayLiteral("Stream/Output/Video") |
| QByteArray | mediaRole = QByteArrayLiteral("Screen") |
| QByteArray | mediaCategory = QByteArrayLiteral("Capture") |
Identity of a synthetic source: what it advertises to the PipeWire graph.
media.role is load-bearing, not cosmetic. It is how the source decides which consumers are meant for it – see QSyntheticPipeWireVideoSource.
Definition at line 36 of file qsyntheticpipewirevideosource_p.h.
|
staticnodiscard |
A camera source, as the Camera interface hands out: media.class Video/Source plus media.role Camera.
device.api is deliberately left unset, so that a client identifying cameras exercises the media.role branch – the one a real camera portal hits – rather than the v4l2/libcamera hardware fallback.
Definition at line 50 of file qsyntheticpipewirevideosource.cpp.
|
staticnodiscard |
A screen-cast source, as xdg-desktop-portal's ScreenCast interface hands out.
Definition at line 45 of file qsyntheticpipewirevideosource.cpp.
| QByteArray QSyntheticPipeWireVideoSourceConfig::loopName = QByteArrayLiteral("qt-fake-sc") |
Definition at line 38 of file qsyntheticpipewirevideosource_p.h.
| QByteArray QSyntheticPipeWireVideoSourceConfig::mediaCategory = QByteArrayLiteral("Capture") |
Definition at line 43 of file qsyntheticpipewirevideosource_p.h.
| QByteArray QSyntheticPipeWireVideoSourceConfig::mediaClass = QByteArrayLiteral("Stream/Output/Video") |
Definition at line 41 of file qsyntheticpipewirevideosource_p.h.
| QByteArray QSyntheticPipeWireVideoSourceConfig::mediaRole = QByteArrayLiteral("Screen") |
Definition at line 42 of file qsyntheticpipewirevideosource_p.h.
| QByteArray QSyntheticPipeWireVideoSourceConfig::nodeDescription = QByteArrayLiteral("Qt Multimedia synthetic screen cast source") |
Definition at line 40 of file qsyntheticpipewirevideosource_p.h.
| QByteArray QSyntheticPipeWireVideoSourceConfig::nodeName = QByteArrayLiteral("qt-fake-screencast") |
Definition at line 39 of file qsyntheticpipewirevideosource_p.h.