Skip to content

screen-cast/src: Do not close streams on error

Robert Mader requested to merge rmader/mutter:screencast-error into main

Streams are generally recoverable by the client and errors may happen e.g. on negotiation failures. Right now we close the stream and corresponding session, which is neither necessary nor expected by clients.

Just disable the stream instead and let clients handle things as they seem fit. This allows clients to e.g. try several Gstreamer pipelines with limited caps on a single stream.


This is needed for gnome-shell!2609 (merged) / gnome-shell!2597 (merged)

Merge request reports