gnome-shell/js/dbusServices/screencast
Jonas Dreßler 9cb40c4814 screencastService: Add fallback mechanism for gstreamer pipelines
Introduce a fallback mechanism for gstreamer pipelines that allows to
define multiple pipelines and prefer them over each other.

The way this works is that we introduce a new STARTING PipelineState.
While the Recorder is in that state, it is allowed to tear down the
current pipeline and start another one whenever an error happens, this is
used to try multiple pipelines in a fixed order until a working one is
found.

Right now there's just a single pipeline using the existing vp8 encoder, the
actual new encoders and pipelines will be added in a separate commit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2609>
2023-04-26 11:39:16 +02:00
..
main.js screenshot: Move HAVE_RECORDER check into screencast service 2022-11-04 09:51:20 +00:00
screencastService.js screencastService: Add fallback mechanism for gstreamer pipelines 2023-04-26 11:39:16 +02:00