mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复http-flv直播超时bug
This commit is contained in:
parent
17423828ce
commit
a9048b4a4d
@ -635,6 +635,7 @@ void HttpSession::onWrite(const Buffer::Ptr &buffer) {
|
||||
if(!strongSelf) {
|
||||
return;
|
||||
}
|
||||
strongSelf->m_ticker.resetTime();
|
||||
strongSelf->m_ui64TotalBytes += buffer->size();
|
||||
strongSelf->send(buffer);
|
||||
});
|
||||
@ -650,6 +651,7 @@ void HttpSession::onWrite(const char *data, int len) {
|
||||
if(!strongSelf) {
|
||||
return;
|
||||
}
|
||||
strongSelf->m_ticker.resetTime();
|
||||
strongSelf->m_ui64TotalBytes += buffer->size();
|
||||
strongSelf->send(buffer);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user