完善rtsp相关代码逻辑

This commit is contained in:
xiongziliang
2018-10-23 11:38:56 +08:00
parent c1e91620d2
commit 2307404847
7 changed files with 79 additions and 123 deletions

View File

@@ -44,7 +44,7 @@ private:
/**
* 264 rtp打包类
*/
class H264RtpEncoder : public RtpEncoder{
class H264RtpEncoder : public H264RtpDecoder ,public RtpInfo{
public:
/**
@@ -67,14 +67,6 @@ public:
* @param key_pos
*/
void inputFrame(const Frame::Ptr &frame, bool key_pos) override;
TrackType getTrackType() const override{
return TrackVideo;
}
CodecId getCodecId() const override{
return CodecH264;
}
private:
void makeH264Rtp(const void *pData, unsigned int uiLen, bool bMark, uint32_t uiStamp);
private: