| | |
| | | #include "FFmpegDecoderJPG.h" |
| | | #include "28181SDK.h" |
| | | #include <basic/pipe/PipeElement.h> |
| | | #include "GlobalSignalWaitLock.hpp" |
| | | //#include <RtspAnalysManager.h> |
| | | //#include <VideoToImageMulth/RtspAnalysManager.h> |
| | | |
| | | class RtspAnalysManager; |
| | | |
| | | namespace BASICGB28181 { |
| | | |
| | | class VideoCaptureElementWithRtp : public basic::PipeElement { |
| | | public: |
| | | explicit VideoCaptureElementWithRtp(std::string &chanPubID, int fps, int streamTransType, int gpuIdx = -1); |
| | | explicit VideoCaptureElementWithRtp(std::string &chanPubID, int fps, int streamTransType, int gpuIdx = -1, |
| | | RtspAnalysManager *manager = nullptr); |
| | | |
| | | virtual ~VideoCaptureElementWithRtp(); |
| | | |
| | | |
| | | /*** |
| | | * 获取当前实时流接收数据线程运行状态 |
| | |
| | | FFmpegDecoderJPG m_fFmpegDecoderJPG; |
| | | cv::Mat m_image; |
| | | long m_userdata; |
| | | RtspAnalysManager *m_pManager; |
| | | |
| | | std::atomic<bool> m_running; |
| | | std::atomic<bool> m_waitSignal; |