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

@@ -80,6 +80,7 @@ private:
private:
H264Track::Ptr _track;
bool _gotSpsPps = false;
bool _lastPacketHasVCL = false;
RtmpPacket::Ptr _lastPacket;
};