添加停止、恢复rtp代理rtp超时检查功能

This commit is contained in:
sunhui
2020-12-25 16:05:38 +08:00
parent bc125e65be
commit c32c2146b2
7 changed files with 126 additions and 1 deletions

View File

@@ -56,6 +56,14 @@ public:
* 设置RtpProcess onDetach事件回调
*/
void setOnDetach(const function<void()> &cb);
/**
* 暂停Rtp服务的RTP流检测
*/
void pauseRtpCheck();
/**
* 暂停Rtp服务的RTP流检测
*/
void resumeRtpCheck();
protected:
Socket::Ptr _udp_server;