mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
RequestHandler: Use correct output in GetRecordStatus
It was using the stream output due to a glitch, surprised nobody reported it yet.
This commit is contained in:
parent
b3ef9a861e
commit
edf4e942fa
@ -21,7 +21,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
|
||||
|
||||
RequestResult RequestHandler::GetRecordStatus(const Request&)
|
||||
{
|
||||
OBSOutputAutoRelease recordOutput = obs_frontend_get_streaming_output();
|
||||
OBSOutputAutoRelease recordOutput = obs_frontend_get_recording_output();
|
||||
|
||||
uint64_t outputDuration = Utils::Obs::NumberHelper::GetOutputDuration(recordOutput);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user