mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
修复flv PreviousTagSize相关问题
This commit is contained in:
@@ -691,14 +691,6 @@ void HttpSession::onWrite(const Buffer::Ptr &buffer) {
|
||||
send(buffer);
|
||||
}
|
||||
|
||||
void HttpSession::onWrite(const char *data, int len) {
|
||||
BufferRaw::Ptr buffer(new BufferRaw);
|
||||
buffer->assign(data,len);
|
||||
_ticker.resetTime();
|
||||
_ui64TotalBytes += buffer->size();
|
||||
send(buffer);
|
||||
}
|
||||
|
||||
void HttpSession::onDetach() {
|
||||
shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user