diff --git a/src/voip/CallManager.cpp b/src/voip/CallManager.cpp
index 9a610819..feb06835 100644
--- a/src/voip/CallManager.cpp
+++ b/src/voip/CallManager.cpp
@@ -41,7 +41,6 @@ extern "C"
}
#endif
-
using namespace mtx::events;
using namespace mtx::events::voip;
@@ -60,7 +59,6 @@ CallManager::CallManager(QObject *parent)
, session_(WebRTCSession::instance())
, turnServerTimer_(this)
{
-
#ifdef GSTREAMER_AVAILABLE
std::string errorMessage;
if (session_.havePlugins(true, true, ScreenShareType::XDP, &errorMessage)) {
@@ -186,7 +184,8 @@ CallManager::CallManager(QObject *parent)
nhlog::ui()->error("WebRTC: access to ringtone file denied");
break;
default:
- nhlog::ui()->error("WebRTC: unable to play ringtone, {}", errorString.toStdString());
+ nhlog::ui()->error("WebRTC: unable to play ringtone, {}",
+ errorString.toStdString());
break;
}
});
@@ -820,10 +819,9 @@ CallManager::retrieveTurnServer()
void
CallManager::playRingtone(const QUrl &ringtone, bool repeat)
{
- player_.setLoops(repeat ? QMediaPlayer::Infinite :
- 1);
+ player_.setLoops(repeat ? QMediaPlayer::Infinite : 1);
player_.setSource(ringtone);
- //player_.audioOutput()->setVolume(100);
+ // player_.audioOutput()->setVolume(100);
player_.play();
}
diff --git a/src/voip/ScreenCastPortal.cpp b/src/voip/ScreenCastPortal.cpp
index e0433387..6cd91e51 100644
--- a/src/voip/ScreenCastPortal.cpp
+++ b/src/voip/ScreenCastPortal.cpp
@@ -438,7 +438,6 @@ struct PipeWireStream
QVariantMap map;
};
-
const QDBusArgument &
operator>>(const QDBusArgument &argument, PipeWireStream &stream)
{
diff --git a/src/voip/WebRTCSession.cpp b/src/voip/WebRTCSession.cpp
index c8bc9cb5..c40b39a4 100644
--- a/src/voip/WebRTCSession.cpp
+++ b/src/voip/WebRTCSession.cpp
@@ -41,7 +41,6 @@ extern "C"
// https://github.com/vector-im/riot-web/issues/10173
#define STUN_SERVER "stun://turn.matrix.org:3478"
-
using webrtc::CallType;
using webrtc::ScreenShareType;
using webrtc::State;
|