summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2025-10-22 19:16:59 -0700
committerCallum Prentice <callum@lindenlab.com>2025-10-22 19:16:59 -0700
commit21e9b38f06e187414d30c12c8c69ebf7b4e4e636 (patch)
treed41d6b2db8a878cc18f2215e01fd710fb663a76e /indra/llwebrtc/llwebrtc.cpp
parentc64c16a59ae2220b29ba0ed1f3f22da07e694612 (diff)
parent0da96a508a5d8d384e017f707babd2193f6ca6a7 (diff)
Merge branch 'develop' of https://github.com/secondlife/viewer into callum/voice-moderation-2
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index b9f126e511..699e6b94a8 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -582,6 +582,13 @@ void LLWebRTCImpl::setRenderDevice(const std::string &id)
deployDevices();
}
+void LLWebRTCImpl::setDevices(const std::string& capture_id, const std::string& render_id)
+{
+ mRecordingDevice = capture_id;
+ mPlayoutDevice = render_id;
+ deployDevices();
+}
+
// updateDevices needs to happen on the worker thread.
void LLWebRTCImpl::updateDevices()
{