#ifndef RECORDVIDEOELEMENT_H
|
#define RECORDVIDEOELEMENT_H
|
|
#include "TimerElement.h"
|
#include <basic/rpc/IceRpc.hpp>
|
#include "RecordVideo.h"
|
|
class RecordVideoElement {
|
|
public:
|
RecordVideoElement(int index, std::string rtsp);
|
|
RecordVideoElement(std::string index, std::string rtsp);
|
|
~RecordVideoElement();
|
|
std::string startRecord();
|
|
std::string startRecord(std::string json);
|
|
void endRecord();
|
|
void feedDog();
|
|
private:
|
std::string m_nIndex;
|
std::string m_strRtsp;
|
IceRpcClient<RecordVideo::LoopRecorderPrx> loopRecordClient;
|
|
std::string callStartRecord(std::string jsonValue);
|
};
|
|
#endif // RECORDVIDEOELEMENT_H
|