Move launching apps to http /launch

This commit is contained in:
loki
2019-12-17 23:16:28 +01:00
parent da58021a1a
commit ae2eb217a5
5 changed files with 70 additions and 51 deletions
+4 -1
View File
@@ -5,6 +5,8 @@
#ifndef SUNSHINE_STREAM_H
#define SUNSHINE_STREAM_H
#include <atomic>
#include "crypto.h"
#include "thread_safe.h"
namespace stream {
@@ -12,10 +14,11 @@ namespace stream {
struct launch_session_t {
crypto::aes_t gcm_key;
crypto::aes_t iv;
std::string app_name;
};
extern safe::event_t<launch_session_t> launch_event;
extern std::atomic_bool has_session;
void rtpThread();
}