解决gcc4.8编译失败的问题

解决部分rtsp服务器seek异常的问题
This commit is contained in:
xiongziliang
2018-10-29 17:19:14 +08:00
parent 1faeda2f33
commit ba3b47086d
3 changed files with 39 additions and 49 deletions

View File

@@ -156,9 +156,6 @@ private:
bool _bFirstPlay = true;
MediaInfo _mediaInfo;
std::weak_ptr<RtspMediaSource> _pMediaSrc;
//RTP缓冲
weak_ptr<RingBuffer<RtpPacket::Ptr> > _pWeakRing;
RingBuffer<RtpPacket::Ptr>::RingReader::Ptr _pRtpReader;
PlayerBase::eRtpType _rtpType = PlayerBase::RTP_UDP;
@@ -204,6 +201,7 @@ private:
std::function<void()> _delayTask;
uint32_t _iTaskTimeLine = 0;
atomic<bool> _enableSendRtp;
};
} /* namespace mediakit */