File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -908,6 +908,12 @@ void EgressLinkOutput::start()
908908 // --- Gather parameters ---//
909909 auto streaming = !connection.isEmpty ();
910910 auto recording = obs_data_get_bool (settings, " recording" );
911+
912+ if (!streaming && reconstructPipeline) {
913+ setStatus (EGRESS_LINK_OUTPUT_STATUS_STAND_BY);
914+ apiClient->incrementStandByOutputs ();
915+ }
916+
911917 if (!streaming && !recording) {
912918 // Both of output and recording are not enabled
913919 return ;
@@ -995,11 +1001,6 @@ void EgressLinkOutput::start()
9951001 }
9961002 }
9971003
998- if (goStandBy) {
999- setStatus (EGRESS_LINK_OUTPUT_STATUS_STAND_BY);
1000- apiClient->incrementStandByOutputs ();
1001- }
1002-
10031004 if (!streamingOutput && !recordingOutput) {
10041005 // Both of output and recording are not ready
10051006 return ;
You can’t perform that action at this time.
0 commit comments