精简代码

This commit is contained in:
xiongziliang
2022-09-03 16:27:30 +08:00
parent c8ea6490cd
commit 06c6654ed5
6 changed files with 1 additions and 7 deletions

View File

@@ -158,8 +158,6 @@ public:
//GOP默认缓冲512组RTMP包每组RTMP包时间戳相同(如果开启合并写了那么每组为合并写时间内的RTMP包),
//每次遇到关键帧第一个RTMP包则会清空GOP缓存(因为有新的关键帧了,同样可以实现秒开)
_ring = std::make_shared<RingType>(_ring_size,std::move(lam));
onReaderChanged(0);
if(_metadata){
regist();
}