mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-12 05:17:48 +08:00
rtmp支持更新config帧
This commit is contained in:
parent
c5b0485519
commit
f2edf354de
@ -131,7 +131,10 @@ public:
|
|||||||
if (pkt->isCfgFrame()) {
|
if (pkt->isCfgFrame()) {
|
||||||
lock_guard<recursive_mutex> lock(_mtx);
|
lock_guard<recursive_mutex> lock(_mtx);
|
||||||
_config_frame_map[pkt->type_id] = pkt;
|
_config_frame_map[pkt->type_id] = pkt;
|
||||||
return;
|
if (!_ring) {
|
||||||
|
//注册后收到config帧更新到各播放器
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_ring) {
|
if (!_ring) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user