mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-16 13:05:59 +08:00
Add config for save fmp4 record files (#3356)
This commit is contained in:
@@ -297,6 +297,7 @@ const string kSampleMS = RECORD_FIELD "sampleMS";
|
||||
const string kFileBufSize = RECORD_FIELD "fileBufSize";
|
||||
const string kFastStart = RECORD_FIELD "fastStart";
|
||||
const string kFileRepeat = RECORD_FIELD "fileRepeat";
|
||||
const string kEnableFmp4 = RECORD_FIELD "enableFmp4";
|
||||
|
||||
static onceToken token([]() {
|
||||
mINI::Instance()[kAppName] = "record";
|
||||
@@ -304,6 +305,7 @@ static onceToken token([]() {
|
||||
mINI::Instance()[kFileBufSize] = 64 * 1024;
|
||||
mINI::Instance()[kFastStart] = false;
|
||||
mINI::Instance()[kFileRepeat] = false;
|
||||
mINI::Instance()[kEnableFmp4] = false;
|
||||
});
|
||||
} // namespace Record
|
||||
|
||||
|
||||
Reference in New Issue
Block a user