int main(int argc, char* argv[])
{
- initLogger("log4cpp.properties");
+ initLogger("./config/log4cpp.properties");
LOG_DEBUG(TAG, "==================================");
- Engine* e = Engine::create();
+ EnginePtr e = Engine::create();
e->addObserver(new Callback());
e->setVideoSrc(VideoSrcType::URL, "rtsp://192.168.1.75:554/stream1");
e->start();