优化rtmp性能

This commit is contained in:
xia-chu
2021-02-04 17:58:51 +08:00
parent 827158af73
commit bc6286553a
19 changed files with 88 additions and 72 deletions

View File

@@ -60,7 +60,7 @@ private:
_total_bytes += buffer->size();
send(std::move(buffer));
}
void onRtmpChunk(RtmpPacket &chunk_data) override;
void onRtmpChunk(RtmpPacket::Ptr chunk_data) override;
template<typename first, typename second>
inline void sendReply(const char *str, const first &reply, const second &status) {