refactored publish.cpp from C code to C++ code
This commit is contained in:
parent
62662edc8d
commit
27d4f6063f
6 changed files with 165 additions and 150 deletions
|
|
@ -21,7 +21,6 @@
|
|||
#include "httpcommon.h"
|
||||
#include "main.h"
|
||||
#include "nvhttp.h"
|
||||
#include "publish.h"
|
||||
#include "rtsp.h"
|
||||
#include "thread_pool.h"
|
||||
#include "video.h"
|
||||
|
|
@ -216,7 +215,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
task_pool.start(1);
|
||||
|
||||
std::thread publishThread { publish::start };
|
||||
std::thread publishThread { platf::publish::start };
|
||||
std::thread httpThread { nvhttp::start };
|
||||
std::thread configThread { confighttp::start };
|
||||
stream::rtpThread();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue