summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-11-30 13:14:07 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:35 -0800
commitebfa44cdb76afb9632556115eef10969912340f5 (patch)
tree0f3d95e7608bc6e968f9e6bd95e640b80122b16f /indra/llwebrtc/llwebrtc.h
parentc33ebcfab6e4fda3f7858f1fa0f65d8c4e82f714 (diff)
Refactor/clean-up WebRTC voice to handle multiple voice streams
This is useful for cross-region voice, quick voice switching, etc.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.h')
-rw-r--r--indra/llwebrtc/llwebrtc.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/llwebrtc/llwebrtc.h b/indra/llwebrtc/llwebrtc.h
index 753fe6a983..ed80fa5648 100644
--- a/indra/llwebrtc/llwebrtc.h
+++ b/indra/llwebrtc/llwebrtc.h
@@ -88,19 +88,13 @@ class LLWebRTCDeviceInterface
virtual void setSpeakerVolume(float volume) = 0; // volume between 0.0 and 1.0
virtual void setMicrophoneVolume(float volume) = 0; // volume between 0.0 and 1.0
+ virtual void setMute(bool mute) = 0;
virtual float getPeerAudioLevel() = 0;
};
-class LLWebRTCAudioObserver
-{
- public:
-};
-
class LLWebRTCAudioInterface
{
public:
- virtual void setAudioObserver(LLWebRTCAudioObserver *observer) = 0;
- virtual void unsetAudioObserver(LLWebRTCAudioObserver *observer) = 0;
virtual void setMute(bool mute) = 0;
};