mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
适配ZLToolKit
This commit is contained in:
parent
6ae243f459
commit
35fd682c9a
@ -1 +1 @@
|
|||||||
Subproject commit f263363147008c9c4642aa1101d76abd21c43e87
|
Subproject commit 7dbbfc28b5dce9da4a0b27e63fdd04fbf0e6a691
|
@ -51,6 +51,7 @@ public:
|
|||||||
m_iMtuSize = iMtuSize;
|
m_iMtuSize = iMtuSize;
|
||||||
m_ui8PlayloadType = ui8PlayloadType;
|
m_ui8PlayloadType = ui8PlayloadType;
|
||||||
m_ui8Interleaved = ui8Interleaved;
|
m_ui8Interleaved = ui8Interleaved;
|
||||||
|
m_pktPool.setSize(64);
|
||||||
}
|
}
|
||||||
virtual ~RtpMaker() {
|
virtual ~RtpMaker() {
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ namespace Rtsp {
|
|||||||
|
|
||||||
class RtspMediaSource: public MediaSource {
|
class RtspMediaSource: public MediaSource {
|
||||||
public:
|
public:
|
||||||
typedef ResourcePool<RtpPacket, 64> PoolType;
|
typedef ResourcePool<RtpPacket> PoolType;
|
||||||
typedef std::shared_ptr<RtspMediaSource> Ptr;
|
typedef std::shared_ptr<RtspMediaSource> Ptr;
|
||||||
typedef RingBuffer<RtpPacket::Ptr> RingType;
|
typedef RingBuffer<RtpPacket::Ptr> RingType;
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ const char kRtspMd5Nonce[] = "rtsp_md5_nonce";
|
|||||||
const char kRtspRealm[] = "rtsp_realm";
|
const char kRtspRealm[] = "rtsp_realm";
|
||||||
|
|
||||||
RtspPlayer::RtspPlayer(void){
|
RtspPlayer::RtspPlayer(void){
|
||||||
|
m_pktPool.setSize(64);
|
||||||
}
|
}
|
||||||
RtspPlayer::~RtspPlayer(void) {
|
RtspPlayer::~RtspPlayer(void) {
|
||||||
teardown();
|
teardown();
|
||||||
|
Loading…
Reference in New Issue
Block a user