2 files changed, 2 insertions, 0 deletions
diff --git a/src/CallManager.h b/src/CallManager.h
index 75768ee1..7d388efd 100644
--- a/src/CallManager.h
+++ b/src/CallManager.h
@@ -53,6 +53,7 @@ public:
public slots:
void sendInvite(const QString &roomid, bool isVideo);
void syncEvent(const mtx::events::collections::TimelineEvents &event);
+ void refreshDevices() { session_.refreshDevices(); }
void toggleMicMute();
void toggleCameraView() { session_.toggleCameraView(); }
void acceptInvite();
diff --git a/src/WebRTCSession.cpp b/src/WebRTCSession.cpp
index a431ab54..094a2906 100644
--- a/src/WebRTCSession.cpp
+++ b/src/WebRTCSession.cpp
@@ -1292,6 +1292,7 @@ WebRTCSession::refreshDevices()
addDevice(GST_DEVICE_CAST(l->data));
g_list_free(devices);
}
+ emit devicesChanged();
#endif
}
|