From e18aaff66188a4e63f3fdbf7060b3f456ff3e9fb Mon Sep 17 00:00:00 2001 From: tt2468 Date: Tue, 31 Aug 2021 06:38:55 -0700 Subject: [PATCH] RequestStatus: Add new statuses to replace old soon --- src/requesthandler/rpc/RequestStatus.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/requesthandler/rpc/RequestStatus.h b/src/requesthandler/rpc/RequestStatus.h index 1b89db0a..9563508e 100644 --- a/src/requesthandler/rpc/RequestStatus.h +++ b/src/requesthandler/rpc/RequestStatus.h @@ -31,6 +31,7 @@ namespace RequestStatus { RequestParameterEmpty = 403, // There are too many request parameters (eg. a request takes two optionals, where only one is allowed at a time) TooManyRequestParameters = 404, + InvalidRequestParameterType = 405, // An output is running and cannot be in order to perform the request (generic) OutputRunning = 500, @@ -60,6 +61,8 @@ namespace RequestStatus { VirtualcamRunning = 512, // Virtualcam is not running and should be VirtualcamNotRunning = 513, + OutputPaused = 514, + OutputDisabled = 515, // The specified source (obs_source_t) was of the invalid type (Eg. input instead of scene) InvalidSourceType = 600, @@ -119,6 +122,8 @@ namespace RequestStatus { InvalidResourceType = 627, // The state of the resource is invalid. For example, if the resource is blocked from being accessed InvalidResourceState = 628, + NotEnoughResources = 629, + ResourceAlreadyExists = 630, // Processing the request failed unexpectedly RequestProcessingFailed = 700, @@ -138,5 +143,7 @@ namespace RequestStatus { CannotAct = 707, // Creation of a new stream service failed StreamServiceCreationFailed = 708, + ResourceCreationFailed = 709, + ResourceActionFailed = 710, }; };