Skip to content

Commit 46cd028

Browse files
authored
Merge pull request #27 from OPENSPHERE-Inc/patch-0.6.0
0.6.0 fix
2 parents c03e89d + b9d2833 commit 46cd028

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/outputs/egress-link-output.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)