screencastService: Add an ERROR state for the pipeline state tracking

This will be useful when we start actually listening for ERROR events on
the gstreamer bus.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2197>
This commit is contained in:
Jonas Dreßler 2022-01-29 00:31:15 +01:00
parent 98cfce0ebe
commit e6196b5b9f

View File

@ -33,6 +33,7 @@ const PipelineState = {
PLAYING: 'PLAYING',
FLUSHING: 'FLUSHING',
STOPPED: 'STOPPED',
ERROR: 'ERROR',
};
const SessionState = {