mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Merge pull request #850 from obsproject/request/getrecorddirectory
Requests: Enable GetRecordDirectory
This commit is contained in:
commit
63cc1f316d
2
deps/asio
vendored
2
deps/asio
vendored
@ -1 +1 @@
|
||||
Subproject commit 08a7029cb10c911b6fb66fb015217a431206e52c
|
||||
Subproject commit b84e6c16b2ea907dbad94206b7510d85aafc0b42
|
@ -123,7 +123,7 @@ const std::map<std::string, RequestMethodHandler> RequestHandler::_handlerMap
|
||||
{"ToggleRecordPause", &RequestHandler::ToggleRecordPause},
|
||||
{"PauseRecord", &RequestHandler::PauseRecord},
|
||||
{"ResumeRecord", &RequestHandler::ResumeRecord},
|
||||
//{"GetRecordDirectory", &RequestHandler::GetRecordDirectory},
|
||||
{"GetRecordDirectory", &RequestHandler::GetRecordDirectory},
|
||||
|
||||
// Media Inputs
|
||||
{"GetMediaInputStatus", &RequestHandler::GetMediaInputStatus},
|
||||
|
@ -64,12 +64,10 @@ std::string Utils::Obs::StringHelper::GetCurrentProfilePath()
|
||||
|
||||
std::string Utils::Obs::StringHelper::GetCurrentRecordOutputPath()
|
||||
{
|
||||
//char *recordOutputPath = obs_frontend_get_current_record_output_path();
|
||||
//std::string ret = recordOutputPath;
|
||||
//bfree(recordOutputPath);
|
||||
//return ret;
|
||||
|
||||
return "";
|
||||
char *recordOutputPath = obs_frontend_get_current_record_output_path();
|
||||
std::string ret = recordOutputPath;
|
||||
bfree(recordOutputPath);
|
||||
return ret;
|
||||
}
|
||||
|
||||
std::string Utils::Obs::StringHelper::GetSourceType(obs_source_t *source)
|
||||
|
Loading…
Reference in New Issue
Block a user