rtmp支持更新config帧

This commit is contained in:
xiongziliang 2021-03-21 16:50:15 +08:00
parent c5b0485519
commit f2edf354de

View File

@ -131,7 +131,10 @@ public:
if (pkt->isCfgFrame()) {
lock_guard<recursive_mutex> lock(_mtx);
_config_frame_map[pkt->type_id] = pkt;
return;
if (!_ring) {
//注册后收到config帧更新到各播放器
return;
}
}
if (!_ring) {