Sunshine/sunshine/rtsp.h

31 lines
452 B
C
Raw Normal View History

2020-02-08 15:26:38 +00:00
//
// 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 {
constexpr auto RTSP_SETUP_PORT = 21;
2020-02-08 15:26:38 +00:00
struct launch_session_t {
crypto::aes_t gcm_key;
crypto::aes_t iv;
bool host_audio;
2020-02-08 15:26:38 +00:00
};
void launch_session_raise(launch_session_t launch_session);
int session_count();
2020-02-08 15:26:38 +00:00
void rtpThread();
2020-02-08 15:26:38 +00:00
2021-05-17 19:21:57 +00:00
} // namespace stream
2020-02-08 15:26:38 +00:00
#endif //SUNSHINE_RTSP_H