mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-31 02:23:50 +00:00
29 lines
398 B
C++
29 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;
|
|
}
|