修复开启转协议后,无人观看掐流延时不定期的bug

This commit is contained in:
xiongziliang
2020-06-19 10:19:42 +08:00
parent f881108dfe
commit e76bc65243
5 changed files with 28 additions and 2 deletions

View File

@@ -53,9 +53,9 @@ public:
virtual bool setupRecord(MediaSource &sender, Recorder::type type, bool start, const string &custom_path) { return false; };
// 获取录制状态
virtual bool isRecording(MediaSource &sender, Recorder::type type) { return false; };
private:
// 通知无人观看
void onNoneReader(MediaSource &sender);
virtual void onNoneReader(MediaSource &sender);
private:
Timer::Ptr _async_close_timer;
};