还原代码

This commit is contained in:
xiongziliang
2020-02-01 22:58:21 +08:00
parent 6a97fcb3de
commit e8ba94ba09
2 changed files with 3 additions and 10 deletions

View File

@@ -52,11 +52,10 @@ MP4Recorder::~MP4Recorder() {
void MP4Recorder::createFile() {
closeFile();
auto strDate = getTimeStr("%Y-%m");
auto strDay = getTimeStr("%Y-%m-%d");
auto strDate = getTimeStr("%Y-%m-%d");
auto strTime = getTimeStr("%H-%M-%S");
auto strFileTmp = _strPath + strDate + "/" + strDay + "/." + strTime + ".mp4";
auto strFile = _strPath + strDate + "/" + strDay + "/" + strTime + ".mp4";
auto strFileTmp = _strPath + strDate + "/." + strTime + ".mp4";
auto strFile = _strPath + strDate + "/" + strTime + ".mp4";
/////record 业务逻辑//////
_info.ui64StartedTime = ::time(NULL);
@@ -67,7 +66,6 @@ void MP4Recorder::createFile() {
+ _info.strAppName + "/"
+ _info.strStreamId + "/"
+ strDate + "/"
+ strDay + "/"
+ strTime + ".mp4";
try {