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

index 19d79f86..6decdf19 100644 --- a/src/CallManager.h +++ b/src/CallManager.h
@@ -55,13 +55,14 @@ public: static bool screenShareSupported(); public slots: - void sendInvite(const QString &roomid, webrtc::CallType); + void sendInvite(const QString &roomid, webrtc::CallType, unsigned int windowIndex = 0); void syncEvent(const mtx::events::collections::TimelineEvents &event); void toggleMicMute(); void toggleLocalPiP() { session_.toggleLocalPiP(); } void acceptInvite(); void hangUp( mtx::events::msg::CallHangUp::Reason = mtx::events::msg::CallHangUp::Reason::User); + QStringList windowList(); signals: void newMessage(const QString &roomid, const mtx::events::msg::CallInvite &); @@ -91,6 +92,7 @@ private: std::vector<std::string> turnURIs_; QTimer turnServerTimer_; QMediaPlayer player_; + std::vector<std::pair<QString, uint32_t>> windows_; template<typename T> bool handleEvent_(const mtx::events::collections::TimelineEvents &event);