Add FFMPEG Configuration
This commit is contained in:
@@ -16,13 +16,13 @@ DigooRecorder::~DigooRecorder()
|
||||
{
|
||||
}
|
||||
|
||||
std::string DigooRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
std::string DigooRecorder::Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "DigooRecorder Snapshot");
|
||||
return std::string();
|
||||
}
|
||||
|
||||
std::string DigooRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages)
|
||||
std::string DigooRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "DigooRecorder MultiSnapshot");
|
||||
return std::string();
|
||||
|
||||
@@ -20,8 +20,8 @@ public:
|
||||
DigooRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~DigooRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -22,7 +22,7 @@ FoscamRecorder::~FoscamRecorder()
|
||||
{
|
||||
}
|
||||
|
||||
std::string FoscamRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
std::string FoscamRecorder::Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "FoscamRecorder Snapshot");
|
||||
|
||||
@@ -36,7 +36,7 @@ std::string FoscamRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
return fileName;
|
||||
}
|
||||
|
||||
std::string FoscamRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages)
|
||||
std::string FoscamRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "FoscamRecorder MultiSnapshot");
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ public:
|
||||
FoscamRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~FoscamRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
|
||||
+2
-2
@@ -14,8 +14,8 @@ public:
|
||||
Recorder();
|
||||
~Recorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) = 0;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) = 0;
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) = 0;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ VStarCamRecorder::~VStarCamRecorder()
|
||||
{
|
||||
}
|
||||
|
||||
std::string VStarCamRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
std::string VStarCamRecorder::Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "VStarCamRecorder Snapshot");
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string VStarCamRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
return fileName;
|
||||
}
|
||||
|
||||
std::string VStarCamRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages)
|
||||
std::string VStarCamRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "VStarCamRecorder MultiSnapshot");
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ public:
|
||||
VStarCamRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~VStarCamRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -22,7 +22,7 @@ WatchBotRecorder::~WatchBotRecorder()
|
||||
{
|
||||
}
|
||||
|
||||
std::string WatchBotRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
std::string WatchBotRecorder::Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "WatchBotRecorder Snapshot");
|
||||
|
||||
@@ -36,7 +36,7 @@ std::string WatchBotRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
return fileName;
|
||||
}
|
||||
|
||||
std::string WatchBotRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages)
|
||||
std::string WatchBotRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "WatchBotRecorder MultiSnapshot");
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ public:
|
||||
WatchBotRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~WatchBotRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -16,13 +16,13 @@ ZModoRecorder::~ZModoRecorder()
|
||||
{
|
||||
}
|
||||
|
||||
std::string ZModoRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
||||
std::string ZModoRecorder::Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "ZModoRecorder Snapshot");
|
||||
return std::string();
|
||||
}
|
||||
|
||||
std::string ZModoRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages)
|
||||
std::string ZModoRecorder::MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Debug, "ZModoRecorder MultiSnapshot");
|
||||
return std::string();
|
||||
|
||||
@@ -20,8 +20,8 @@ public:
|
||||
ZModoRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~ZModoRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user