From afbf8c1fa4f09affe770475d735555e47c68b237 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 4 Feb 2025 11:50:37 +0100 Subject: [PATCH] Change mkv into smff ("Simple Media File Format" which is the Standard Matroska file format that supports video, .mkv or .mka file extension) --- Linphone/model/call/CallModel.cpp | 2 +- Linphone/model/tool/ToolModel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Linphone/model/call/CallModel.cpp b/Linphone/model/call/CallModel.cpp index 973e01f13..5d46105a7 100644 --- a/Linphone/model/call/CallModel.cpp +++ b/Linphone/model/call/CallModel.cpp @@ -55,7 +55,7 @@ void CallModel::accept(bool withVideo) { params->setRecordFile( Paths::getCapturesDirPath() .append(Utils::generateSavedFilename(QString::fromStdString(mMonitor->getToAddress()->getUsername()), "")) - .append(".mkv") + .append(".smff") .toStdString()); // Answer with local call address. auto localAddress = mMonitor->getCallLog()->getLocalAddress(); diff --git a/Linphone/model/tool/ToolModel.cpp b/Linphone/model/tool/ToolModel.cpp index 60666afa3..d4215676f 100644 --- a/Linphone/model/tool/ToolModel.cpp +++ b/Linphone/model/tool/ToolModel.cpp @@ -177,7 +177,7 @@ bool ToolModel::createCall(const QString &sipAddress, params->setRecordFile( Paths::getCapturesDirPath() .append(Utils::generateSavedFilename(QString::fromStdString(address->getUsername()), "")) - .append(".mkv") + .append(".smff") .toStdString()); }