59 qCWarning(KWIN_SCREENCAST,
"Failed to create PipeWire loop: %s", strerror(errno));
60 m_error = i18n(
"Failed to start main PipeWire loop");
65 QSocketNotifier *notifier =
new QSocketNotifier(pw_loop_get_fd(
pwMainLoop), QSocketNotifier::Read,
this);
66 connect(notifier, &QSocketNotifier::activated,
this, [
this] {
69 qCWarning(KWIN_SCREENCAST) <<
"pipewire_loop_iterate failed: " << result;
75 qCWarning(KWIN_SCREENCAST) <<
"Failed to create PipeWire context";
76 m_error = i18n(
"Failed to create PipeWire context");
82 qCWarning(KWIN_SCREENCAST) <<
"Failed to connect PipeWire context";
83 m_error = i18n(
"Failed to connect PipeWire context");
88 qCWarning(KWIN_SCREENCAST) <<
"Failed to start main PipeWire loop";
89 m_error = i18n(
"Failed to start main PipeWire loop");