mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 08:57:32 +08:00
优化rtmp性能
This commit is contained in:
@@ -42,7 +42,7 @@ protected:
|
||||
void onErr(const SockException &ex) override;
|
||||
|
||||
//for RtmpProtocol override
|
||||
void onRtmpChunk(RtmpPacket &chunk_data) override;
|
||||
void onRtmpChunk(RtmpPacket::Ptr chunk_data) override;
|
||||
void onSendRawData(Buffer::Ptr buffer) override{
|
||||
send(std::move(buffer));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user