28 lines
398 B
C++
28 lines
398 B
C++
//
|
|
// Created by loki on 5/30/19.
|
|
//
|
|
|
|
#include <thread>
|
|
#include <fstream>
|
|
|
|
#include "nvhttp.h"
|
|
#include "stream.h"
|
|
|
|
extern "C" {
|
|
#include <rs.h>
|
|
}
|
|
|
|
#include <libavcodec/avcodec.h>
|
|
|
|
using namespace std::literals;
|
|
int main() {
|
|
reed_solomon_init();
|
|
|
|
std::thread httpThread { nvhttp::start };
|
|
std::thread rtpThread { stream::rtpThread };
|
|
|
|
httpThread.join();
|
|
rtpThread.join();
|
|
|
|
return 0;
|
|
}
|