mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-27 04:22:20 +08:00
AI automatically translates all comments in the code into English (#3917)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user