https://bugs.kde.org/show_bug.cgi?id=497765

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/krdp/-/commit/e58caeaabf
                   |                            |ae653ead0952d3795aa3a17b882
                   |                            |009
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from David Edmundson <[email protected]> ---
Git commit e58caeaabfae653ead0952d3795aa3a17b882009 by David Edmundson, on
behalf of Shouvik Kar.
Committed on 30/06/2026 at 09:00.
Pushed by davidedmundson into branch 'master'.

VideoStream: pause the encoded stream on suppress output instead of stopping

Requires: https://invent.kde.org/plasma/kpipewire/-/merge_requests/263

When a client suppresses output (e.g. its window is minimized) the encoded
stream was stopped via PipeWireEncodedStream::stop() and restarted via
start() on restore. But stop() is terminal in kpipewire - it closes the
single-use PipeWire fd - so start() never resumes and the session freezes
permanently.

Use the new pause()/resume() API instead: pause the encoded stream on
suppress (keeping it alive) and resume it on restore. The stream is only
fully stopped on teardown via close(). The progressive/source-stream path
is unchanged, as it already uses setActive().

Set as draft until the above linked MR is in kpipewire.

M  +6    -2    src/VideoStream.cpp

https://invent.kde.org/plasma/krdp/-/commit/e58caeaabfae653ead0952d3795aa3a17b882009

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to