mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 02:38:10 +08:00
适配ZLToolKit
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Rtsp {
|
||||
|
||||
class RtspMediaSource: public MediaSource {
|
||||
public:
|
||||
typedef ResourcePool<RtpPacket, 64> PoolType;
|
||||
typedef ResourcePool<RtpPacket> PoolType;
|
||||
typedef std::shared_ptr<RtspMediaSource> Ptr;
|
||||
typedef RingBuffer<RtpPacket::Ptr> RingType;
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ const char kRtspMd5Nonce[] = "rtsp_md5_nonce";
|
||||
const char kRtspRealm[] = "rtsp_realm";
|
||||
|
||||
RtspPlayer::RtspPlayer(void){
|
||||
m_pktPool.setSize(64);
|
||||
}
|
||||
RtspPlayer::~RtspPlayer(void) {
|
||||
teardown();
|
||||
|
||||
Reference in New Issue
Block a user