#ifndef APPPIPECONTROLLER_H
|
#define APPPIPECONTROLLER_H
|
#include <basic/pipe/PipeController.h>
|
#include <basic/pipe_element/ffmpeg/FfmpegElement.h>
|
#include <jsoncpp/json/json.h>
|
|
class AppPipeController : public PipeController
|
{
|
public:
|
AppPipeController(int index, const Json::Value& json);
|
std::string getRtmp();
|
private:
|
ffmpeg::VideoCaptureElement videoCaptureElement;
|
ffmpeg::VideoPublishElement videoPublishElement;
|
int index;
|
};
|
|
#endif // APPPIPECONTROLLER_H
|