feat(stream)!: remove limit on concurrent sessions and allow quitting apps with active sessions (#3325)
This commit is contained in:
10
src/rtsp.h
10
src/rtsp.h
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user