派生自 development/c++

xuxiuxi
2019-03-08 5bf0020b189b2bc8c64737c2af4ea77c3e8f5612
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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