delete tracker;
}
-void Engine::setVideoSrc(const std::string& url)
+void Engine::setVideoSrc(VideoSrcType type, const std::string& url)
{
videoSrc = url;
- reader = VideoReaderFactory::createVideoReader(VideoSrcType::URL,"rtsp://192.168.1.75:554/stream1");
+ reader = VideoReaderFactory::createVideoReader(type, url);
}
void Engine::run()