mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
26 lines
392 B
C++
26 lines
392 B
C++
//
|
|
// Created by loki on 2/2/20.
|
|
//
|
|
|
|
#ifndef SUNSHINE_RTSP_H
|
|
#define SUNSHINE_RTSP_H
|
|
|
|
#include <atomic>
|
|
|
|
#include "crypto.h"
|
|
#include "thread_safe.h"
|
|
|
|
namespace stream {
|
|
struct launch_session_t {
|
|
crypto::aes_t gcm_key;
|
|
crypto::aes_t iv;
|
|
};
|
|
|
|
extern safe::event_t<launch_session_t> launch_event;
|
|
|
|
void rtpThread(std::shared_ptr<safe::signal_t> shutdown_event);
|
|
|
|
}
|
|
|
|
#endif //SUNSHINE_RTSP_H
|