summary refs log tree commit diff
path: root/src/WebRTCSession.h
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2021-02-21 16:30:10 -0500
committertrilene <trilene@runbox.com>2021-02-21 16:30:10 -0500
commit70c77cdc44698104c11c222dc630bbcc26a27f3e (patch)
treedd4df1a85c7ae0618b16d87803637810ee0dcb0d /src/WebRTCSession.h
parentRefine X11 test (diff)
downloadnheko-70c77cdc44698104c11c222dc630bbcc26a27f3e.tar.xz
Display screen sharing content locally
Diffstat (limited to 'src/WebRTCSession.h')
-rw-r--r--src/WebRTCSession.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WebRTCSession.h b/src/WebRTCSession.h
index 24ae9a17..fc637193 100644
--- a/src/WebRTCSession.h
+++ b/src/WebRTCSession.h
@@ -52,7 +52,7 @@ public:
         bool havePlugins(bool isVideo, std::string *errorMessage = nullptr);
         webrtc::CallType callType() const { return callType_; }
         webrtc::State state() const { return state_; }
-        bool haveLocalCamera() const;
+        bool haveLocalPiP() const;
         bool isOffering() const { return isOffering_; }
         bool isRemoteVideoRecvOnly() const { return isRemoteVideoRecvOnly_; }
         bool isRemoteVideoSendOnly() const { return isRemoteVideoSendOnly_; }
@@ -64,7 +64,7 @@ public:
 
         bool isMicMuted() const;
         bool toggleMicMute();
-        void toggleCameraView();
+        void toggleLocalPiP();
         void end();
 
         void setTurnServers(const std::vector<std::string> &uris) { turnServers_ = uris; }