Implement permission manage web UI
This commit is contained in:
10
src/stream.h
10
src/stream.h
@@ -43,13 +43,23 @@ namespace stream {
|
||||
|
||||
std::shared_ptr<session_t>
|
||||
alloc(config_t &config, rtsp_stream::launch_session_t &launch_session);
|
||||
std::string
|
||||
uuid(const session_t& session);
|
||||
bool
|
||||
uuid_match(const session_t& session, const std::string& uuid);
|
||||
bool
|
||||
update_device_info(session_t& session, const std::string& name, const crypto::PERM& newPerm);
|
||||
int
|
||||
start(session_t &session, const std::string &addr_string);
|
||||
void
|
||||
stop(session_t &session);
|
||||
void
|
||||
graceful_stop(session_t& session);
|
||||
void
|
||||
join(session_t &session);
|
||||
state_e
|
||||
state(session_t &session);
|
||||
inline bool
|
||||
send(session_t& session);
|
||||
} // namespace session
|
||||
} // namespace stream
|
||||
|
||||
Reference in New Issue
Block a user