for frame merge must has vlc(video codec layer) data and flush rtmp a frame must has vcl

This commit is contained in:
xiongguangjie
2021-06-19 01:27:13 +08:00
parent 2335043cdf
commit a28aeb2148
4 changed files with 49 additions and 4 deletions

View File

@@ -476,6 +476,7 @@ private:
bool willFlush(const Frame::Ptr &frame) const;
void doMerge(BufferLikeString &buffer, const Frame::Ptr &frame) const;
bool shouldDrop(const Frame::Ptr &frame) const;
bool frameCacheHasVCL(List<Frame::Ptr> &frameCached) const;
private:
int _type;