程序退出前停止一切录制

This commit is contained in:
xiongziliang
2019-12-04 19:15:48 +08:00
parent 728fd55e0c
commit 33047ddc94
4 changed files with 13 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ public:
static status getRecordStatus(type type, const string &vhost, const string &app, const string &stream_id);
static int startRecord(type type, const string &vhost, const string &app, const string &stream_id,bool waitForRecord, bool continueRecord);
static void stopRecord(type type, const string &vhost, const string &app, const string &stream_id);
static void stopAll();
private:
Recorder() = delete;
~Recorder() = delete;