支持ssl加密的Rtsp服务器

This commit is contained in:
xiongziliang
2018-12-19 16:54:11 +08:00
parent 70c3e97f14
commit 84e0e83366
5 changed files with 29 additions and 28 deletions

View File

@@ -155,11 +155,8 @@ void HttpSession::onRecvContent(const char *data,uint64_t len) {
}
void HttpSession::onRecv(const Buffer::Ptr &pBuf) {
onRecv(pBuf->data(),pBuf->size());
}
void HttpSession::onRecv(const char *data,int size){
_ticker.resetTime();
input(data,size);
input(pBuf->data(),pBuf->size());
}
void HttpSession::onError(const SockException& err) {