This commit is contained in:
Genteure 2019-01-16 22:59:42 +08:00
parent 14a51ac33a
commit 14148a58dd

View File

@ -362,7 +362,7 @@ namespace BililiveRecorder.FlvProcessor
{
try
{
logger.Debug("正在关闭当前录制文件: " + _targetFile.Name);
logger.Debug("正在关闭当前录制文件: " + _targetFile?.Name);
Metadata["duration"] = CurrentMaxTimestamp / 1000.0;
Metadata["lasttimestamp"] = (double)CurrentMaxTimestamp;
byte[] metadata = Metadata.ToBytes();