diff options
author | Brad Linden <brad@lindenlab.com> | 2024-08-01 15:40:41 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-08-01 15:40:41 -0700 |
commit | 002be0f24321164a74ef2a88c656b7cb0968c7d3 (patch) | |
tree | 6a5a5944f8c5111bdf4e3364f28e003f38dc682f /indra/llwebrtc/llwebrtc.h | |
parent | 2d69e4d2396d4d5d2e2b9d4959e668e57c08efd0 (diff) | |
parent | 5f66a15142083a047ac945da94f167c24c95f49a (diff) |
Merge remote-tracking branch 'origin/release/webrtc-voice' into release/2024.06-atlasaurus
Diffstat (limited to 'indra/llwebrtc/llwebrtc.h')
-rw-r--r-- | indra/llwebrtc/llwebrtc.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc.h b/indra/llwebrtc/llwebrtc.h index 54eefc8554..c6fdb909dd 100644 --- a/indra/llwebrtc/llwebrtc.h +++ b/indra/llwebrtc/llwebrtc.h @@ -56,6 +56,20 @@ namespace llwebrtc { +class LLWebRTCLogCallback +{ +public: + typedef enum { + LOG_LEVEL_VERBOSE = 0, + LOG_LEVEL_INFO, + LOG_LEVEL_WARNING, + LOG_LEVEL_ERROR + } LogLevel; + + virtual void LogMessage(LogLevel level, const std::string& message) = 0; +}; + + // LLWebRTCVoiceDevice is a simple representation of the // components of a device, used to communicate this // information to the viewer. @@ -262,7 +276,7 @@ class LLWebRTCPeerConnectionInterface // exports. // This library must be initialized before use. -LLSYMEXPORT void init(); +LLSYMEXPORT void init(LLWebRTCLogCallback* logSink); // And should be terminated as part of shutdown. LLSYMEXPORT void terminate(); |