summary refs log tree commit diff
path: root/src/voip
diff options
context:
space:
mode:
Diffstat (limited to 'src/voip')
-rw-r--r--src/voip/CallDevices.h4
-rw-r--r--src/voip/WebRTCSession.cpp9
2 files changed, 10 insertions, 3 deletions
diff --git a/src/voip/CallDevices.h b/src/voip/CallDevices.h

index d30ce644..9b234903 100644 --- a/src/voip/CallDevices.h +++ b/src/voip/CallDevices.h
@@ -27,8 +27,8 @@ public: bool haveCamera() const; std::vector<std::string> names(bool isVideo, const std::string &defaultDevice) const; std::vector<std::string> resolutions(const std::string &cameraName) const; - std::vector<std::string> frameRates(const std::string &cameraName, - const std::string &resolution) const; + std::vector<std::string> + frameRates(const std::string &cameraName, const std::string &resolution) const; signals: void devicesChanged(); diff --git a/src/voip/WebRTCSession.cpp b/src/voip/WebRTCSession.cpp
index a01b3a39..27e51d9e 100644 --- a/src/voip/WebRTCSession.cpp +++ b/src/voip/WebRTCSession.cpp
@@ -1115,7 +1115,14 @@ WebRTCSession::haveLocalPiP() const return false; } -bool WebRTCSession::createOffer(webrtc::CallType, uint32_t) { return false; } +// clang-format off +// clang-format < 12 is buggy on this +bool +WebRTCSession::createOffer(webrtc::CallType, uint32_t) +{ + return false; +} +// clang-format on bool WebRTCSession::acceptOffer(const std::string &)