wangrong
2025-01-18 8b0e31121a9a29b92a41fc575138a2e9b4c12d8e
nodes/vp_rtsp_src_node.h
@@ -11,8 +11,9 @@
    class vp_rtsp_src_node: public vp_src_node {
    private:
        /* data */
        std::string gst_template = "rtspsrc location=%s ! application/x-rtp,media=video ! rtph264depay ! h264parse ! %s ! videoconvert ! appsink";
        cv::VideoCapture rtsp_capture;
        //std::string gst_template = "rtspsrc location=%s ! application/x-rtp,media=video ! rtph264depay ! h264parse ! %s ! videoconvert ! appsink";
        std::string gst_template = "rtspsrc location=%s ! rtph264depay ! h264parse ! %s ! videoconvert ! appsink";
       cv::VideoCapture rtsp_capture;
    protected:
        // re-implemetation
        virtual void handle_run() override;