修改rtp超时检测相关http api,rtp超时检测最多暂停5分钟

This commit is contained in:
ziyue
2021-03-16 11:30:51 +08:00
parent d475191dc7
commit 060b654252
5 changed files with 18 additions and 54 deletions

View File

@@ -57,16 +57,6 @@ public:
*/
void setOnDetach(const function<void()> &cb);
/**
* 暂停Rtp服务的RTP流检测
*/
void pauseRtpCheck(const string &stream_id = "");
/**
* 恢复Rtp服务的RTP流检测
*/
void resumeRtpCheck(const string &stream_id = "");
protected:
Socket::Ptr _udp_server;
TcpServer::Ptr _tcp_server;