程序退出时清空RtpProcess对象

This commit is contained in:
xiongziliang
2020-10-24 23:29:44 +08:00
parent fd898254f2
commit c5f1b4cd52
3 changed files with 13 additions and 0 deletions

View File

@@ -55,6 +55,11 @@ public:
static bool getSSRC(const char *data,int data_len, uint32_t &ssrc);
static RtpSelector &Instance();
/**
* 清空所有对象
*/
void clear();
/**
* 输入多个rtp流根据ssrc分流
* @param sock 本地socket