mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 03:28:09 +08:00
优化性能
This commit is contained in:
@@ -84,8 +84,8 @@ private:
|
||||
void onSendRawData(const char *pcRawData,int iSize) override{
|
||||
send(pcRawData, iSize);
|
||||
}
|
||||
void onSendRawData(string &&strData) override{
|
||||
send(std::move(strData));
|
||||
void onSendRawData(const Socket::Buffer::Ptr &buffer,int flags) override{
|
||||
sock->send(buffer,flags);
|
||||
}
|
||||
void onRtmpChunk(RtmpPacket &chunkData) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user