feat(stream)!: remove limit on concurrent sessions and allow quitting apps with active sessions (#3325)

This commit is contained in:
Cameron Gutman
2024-10-24 19:11:50 -05:00
committed by GitHub
parent d2be83fe20
commit 73d777fa0b
11 changed files with 56 additions and 120 deletions

View File

@@ -48,9 +48,19 @@ namespace rtsp_stream {
void
launch_session_clear(uint32_t launch_session_id);
/**
* @brief Get the number of active sessions.
* @return Count of active sessions.
*/
int
session_count();
/**
* @brief Terminates all running streaming sessions.
*/
void
terminate_sessions();
void
rtpThread();