avahi service publishing
This commit is contained in:
parent
415dec37ad
commit
ec44a4391a
7 changed files with 160 additions and 3 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include "rtsp.h"
|
||||
#include "config.h"
|
||||
#include "thread_pool.h"
|
||||
#include "publish.h"
|
||||
|
||||
#include "platform/common.h"
|
||||
extern "C" {
|
||||
|
|
@ -147,6 +148,7 @@ int main(int argc, char *argv[]) {
|
|||
task_pool.start(1);
|
||||
|
||||
std::thread httpThread { nvhttp::start, shutdown_event };
|
||||
std::thread publishThread { publish::start, shutdown_event };
|
||||
stream::rtpThread(shutdown_event);
|
||||
|
||||
httpThread.join();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue