Skip to content

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.

Depends on and includes !2197 (merged)

Required for !2597 (merged)

Edited by Robert Mader

Merge request reports