mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 04:25:58 +08:00
NoticeCenter支持安全类型转换,解决监听者参数类型不一致导致的bug
This commit is contained in:
@@ -92,7 +92,7 @@ void MP4Recorder::asyncClose() {
|
||||
}
|
||||
TraceL << "Emit mp4 record event: " << full_path;
|
||||
//触发mp4录制切片生成事件
|
||||
NoticeCenter::Instance().emitEvent(Broadcast::kBroadcastRecordMP4, info);
|
||||
NOTICE_EMIT(BroadcastRecordMP4Args, Broadcast::kBroadcastRecordMP4, info);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user