summaryrefslogtreecommitdiff
path: root/orkbasecxx/Reporting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'orkbasecxx/Reporting.cpp')
-rw-r--r--orkbasecxx/Reporting.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/orkbasecxx/Reporting.cpp b/orkbasecxx/Reporting.cpp
index 9aa053d..91ca42a 100644
--- a/orkbasecxx/Reporting.cpp
+++ b/orkbasecxx/Reporting.cpp
@@ -21,6 +21,7 @@
#include "messages/TapeMsg.h"
#include "OrkClient.h"
#include "Daemon.h"
+#include "CapturePluginProxy.h"
TapeProcessorRef Reporting::m_singleton;
@@ -174,6 +175,15 @@ void Reporting::ThreadHandler(void *args)
}
}
+ else
+ {
+ // Tape is wanted
+ if(CONFIG.m_lookBackRecording == false && ptapeMsg->m_stage.Equals("start"))
+ {
+ CapturePluginProxy::Singleton()->StartCapture(ptapeMsg->m_localParty);
+ CapturePluginProxy::Singleton()->StartCapture(ptapeMsg->m_remoteParty);
+ }
+ }
//else
//{
// if(!startMsg)