projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re-locate config file
[trackerpp.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index
acbe99a
..
83affc2
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-23,12
+23,12
@@
class Callback : public EngineObserver
int main(int argc, char* argv[])
{
int main(int argc, char* argv[])
{
- initLogger("log4cpp.properties");
+ initLogger("
./config/
log4cpp.properties");
LOG_DEBUG(TAG, "==================================");
LOG_DEBUG(TAG, "==================================");
- Engine
*
e = Engine::create();
+ Engine
Ptr
e = Engine::create();
e->addObserver(new Callback());
e->addObserver(new Callback());
- e->setVideoSrc(
"xxxx
");
+ e->setVideoSrc(
VideoSrcType::URL, "rtsp://192.168.1.75:554/stream1
");
e->start();
e->destroy();
e->start();
e->destroy();