Skip to content

Commit

Permalink
Merge pull request #27 from OPENSPHERE-Inc/patch-0.6.0
Browse files Browse the repository at this point in the history
0.6.0 fix
  • Loading branch information
hanatyan128 authored Jan 7, 2025
2 parents c03e89d + b9d2833 commit 46cd028
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/outputs/egress-link-output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,12 @@ void EgressLinkOutput::start()
//--- Gather parameters ---//
auto streaming = !connection.isEmpty();
auto recording = obs_data_get_bool(settings, "recording");

if (!streaming && reconstructPipeline) {
setStatus(EGRESS_LINK_OUTPUT_STATUS_STAND_BY);
apiClient->incrementStandByOutputs();
}

if (!streaming && !recording) {
// Both of output and recording are not enabled
return;
Expand Down Expand Up @@ -995,11 +1001,6 @@ void EgressLinkOutput::start()
}
}

if (goStandBy) {
setStatus(EGRESS_LINK_OUTPUT_STATUS_STAND_BY);
apiClient->incrementStandByOutputs();
}

if (!streamingOutput && !recordingOutput) {
// Both of output and recording are not ready
return;
Expand Down

0 comments on commit 46cd028

Please sign in to comment.