AI automatically translates all comments in the code into English (#3917)

This commit is contained in:
alex
2024-09-19 14:53:50 +08:00
committed by GitHub
parent 046de691cb
commit 4152dcd409
279 changed files with 10602 additions and 3038 deletions

View File

@@ -28,7 +28,8 @@ public:
virtual ~RtmpProtocol();
void onParseRtmp(const char *data, size_t size);
//作为客户端发送c0c1等待s0s1s2并且回调
// 作为客户端发送c0c1等待s0s1s2并且回调 [AUTO-TRANSLATED:fed23902]
// Send c0c1 as a client, wait for s0s1s2 and callback
void startClientSession(const std::function<void()> &cb, bool complex = true);
protected:
@@ -103,7 +104,8 @@ private:
std::function<const char * (const char *data, size_t len)> _next_step_func;
////////////Chunk////////////
std::unordered_map<int, std::pair<RtmpPacket::Ptr/*now*/, RtmpPacket::Ptr/*last*/> > _map_chunk_data;
//循环池
// 循环池 [AUTO-TRANSLATED:cf2e86c5]
// Thread pool
toolkit::ResourcePool<toolkit::BufferRaw> _packet_pool;
};