mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 03:28:09 +08:00
大幅提升接收推流性能以及降低内存占用
This commit is contained in:
@@ -58,8 +58,8 @@ protected:
|
||||
//from RtmpProtocol
|
||||
void onRtmpChunk(RtmpPacket &chunk_data) override;
|
||||
void onStreamDry(uint32_t stream_index) override;
|
||||
void onSendRawData(const Buffer::Ptr &buffer) override {
|
||||
send(buffer);
|
||||
void onSendRawData(Buffer::Ptr buffer) override {
|
||||
send(std::move(buffer));
|
||||
}
|
||||
|
||||
template<typename FUNC>
|
||||
|
||||
Reference in New Issue
Block a user