mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复录制点播的bug
This commit is contained in:
parent
ba3b47086d
commit
b3f2bd5b71
@ -129,7 +129,7 @@ static onceToken s_token([](){
|
||||
|
||||
//此处用于测试rtmp保存为flv录像,保存在http根目录下
|
||||
NoticeCenter::Instance().addListener(nullptr,Broadcast::kBroadcastMediaChanged,[](BroadcastMediaChangedArgs){
|
||||
if(schema == RTMP_SCHEMA){
|
||||
if(schema == RTMP_SCHEMA && app == "live"){
|
||||
static map<string,FlvRecorder::Ptr> s_mapFlvRecorder;
|
||||
static mutex s_mtxFlvRecorder;
|
||||
lock_guard<mutex> lck(s_mtxFlvRecorder);
|
||||
|
Loading…
Reference in New Issue
Block a user