mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 00:47:34 +08:00
适配ZLToolKit develop分支
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
void reset();
|
||||
protected:
|
||||
virtual void onSendRawData(const char *pcRawData,int iSize) = 0;
|
||||
virtual void onSendRawData(const Socket::Buffer::Ptr &buffer,int flags) = 0;
|
||||
virtual void onSendRawData(const Buffer::Ptr &buffer,int flags) = 0;
|
||||
|
||||
virtual void onRtmpChunk(RtmpPacket &chunkData) = 0;
|
||||
|
||||
@@ -85,7 +85,7 @@ protected:
|
||||
int m_iNowStreamID = 0;
|
||||
int m_iNowChunkID = 0;
|
||||
bool m_bDataStarted = false;
|
||||
ResourcePool<Socket::BufferRaw,MAX_SEND_PKT> m_bufferPool;
|
||||
ResourcePool<BufferRaw,MAX_SEND_PKT> m_bufferPool;
|
||||
private:
|
||||
void handle_S0S1S2(const function<void()> &cb);
|
||||
void handle_C0C1();
|
||||
|
||||
Reference in New Issue
Block a user