Hide window capture sources
This commit is contained in:
1 parent
e440c62339
commit
f5660a4642
1 file changed
-2
@@ -280,8 +280,6 @@ QList<StreamVideoSource> StreamPublishEngine::sources() {
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_VIDEO, "desktop screen capability source=%s logical=%dx%d scale=%.3f pixels=%dx%d",
|
||||
qPrintable(screen->name()), screen->size().width(), screen->size().height(), screen->devicePixelRatio(), size.width(), size.height());
|
||||
}
|
||||
for (const auto& window : QWindowCapture::capturableWindows())
|
||||
sources.push_back({StreamVideoSource::Window, window.description(), {}, QVariant::fromValue(window)});
|
||||
}
|
||||
#endif
|
||||
return sources;
|
||||
|
||||
Reference in new issue
Block a user