支持websocket(ssl)-flv 直播
This commit is contained in:
parent
8e17300a17
commit
9f04062fc5
|
|
@ -959,7 +959,7 @@ void HttpSession::onWrite(const Buffer::Ptr &buffer) {
|
||||||
|
|
||||||
void HttpSession::onWebSocketEncodeData(const uint8_t *ptr,uint64_t len){
|
void HttpSession::onWebSocketEncodeData(const uint8_t *ptr,uint64_t len){
|
||||||
_ui64TotalBytes += len;
|
_ui64TotalBytes += len;
|
||||||
SocketHelper::send((char *)ptr,len);
|
send((char *)ptr,len);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HttpSession::onDetach() {
|
void HttpSession::onDetach() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue