1、复用rtsp url解析代码

2、修复rtsp/rtmp推流异常回调紊乱的问题
This commit is contained in:
xiongziliang
2020-01-04 12:03:53 +08:00
parent e4f9e377c5
commit 1ce9af35e3
8 changed files with 145 additions and 144 deletions

View File

@@ -63,7 +63,7 @@ protected:
send(buffer);
}
private:
void onPublishResult(const SockException &ex);
void onPublishResult(const SockException &ex,bool handshakeCompleted);
template<typename FUN>
inline void addOnResultCB(const FUN &fun) {