Moved source files to seperate folder
This commit is contained in:
parent
d1d9f5550c
commit
13d9f51c67
24 changed files with 49 additions and 37 deletions
31
main.cpp
31
main.cpp
|
|
@ -1,31 +0,0 @@
|
|||
//
|
||||
// Created by loki on 5/30/19.
|
||||
//
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include "nvhttp.h"
|
||||
#include "stream.h"
|
||||
|
||||
extern "C" {
|
||||
#include <rs.h>
|
||||
}
|
||||
|
||||
#include "config.h"
|
||||
#include "platform/common.h"
|
||||
using namespace std::literals;
|
||||
int main(int argc, char *argv[]) {
|
||||
if(argc > 1) {
|
||||
config::parse_file(argv[1]);
|
||||
}
|
||||
|
||||
reed_solomon_init();
|
||||
|
||||
std::thread httpThread { nvhttp::start };
|
||||
std::thread rtpThread { stream::rtpThread };
|
||||
|
||||
httpThread.join();
|
||||
rtpThread.join();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue