Implement permission manage web UI
This commit is contained in:
12
src/rtsp.h
12
src/rtsp.h
@@ -5,10 +5,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <memory>
|
||||
|
||||
#include "crypto.h"
|
||||
#include "thread_safe.h"
|
||||
|
||||
// Resolve circular dependencies
|
||||
namespace stream {
|
||||
struct session_t;
|
||||
}
|
||||
|
||||
namespace rtsp_stream {
|
||||
constexpr auto RTSP_SETUP_PORT = 21;
|
||||
|
||||
@@ -60,6 +66,12 @@ namespace rtsp_stream {
|
||||
int
|
||||
session_count();
|
||||
|
||||
std::shared_ptr<stream::session_t>
|
||||
find_session(const std::string& uuid);
|
||||
|
||||
std::list<std::string>
|
||||
get_all_session_uuids();
|
||||
|
||||
void
|
||||
rtpThread();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user