支持websocket(ssl)-flv 直播

This commit is contained in:
xiongziliang 2019-08-12 18:32:22 +08:00
parent 8e17300a17
commit 9f04062fc5
1 changed files with 1 additions and 1 deletions

View File

@ -959,7 +959,7 @@ void HttpSession::onWrite(const Buffer::Ptr &buffer) {
void HttpSession::onWebSocketEncodeData(const uint8_t *ptr,uint64_t len){
_ui64TotalBytes += len;
SocketHelper::send((char *)ptr,len);
send((char *)ptr,len);
}
void HttpSession::onDetach() {