Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1842)

Unified Diff: webrtc/voice_engine/include/voe_codec.h

Issue 1267683002: Hooked up RtcEventLog. It lives in Voice Engine and pointers are propagated to ACM and Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Moved RtcEventLog from SharedData to ChannelManager. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/voice_engine/channel_manager.cc ('k') | webrtc/voice_engine/shared_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/include/voe_codec.h
diff --git a/webrtc/voice_engine/include/voe_codec.h b/webrtc/voice_engine/include/voe_codec.h
index 5d94ac27365a91fa3df47901f28ad66422ab7b4f..a0703618e654a61c5dc378ccdf26af607ecf2a67 100644
--- a/webrtc/voice_engine/include/voe_codec.h
+++ b/webrtc/voice_engine/include/voe_codec.h
@@ -35,6 +35,7 @@
namespace webrtc {
+class RtcEventLog;
class VoiceEngine;
class WEBRTC_DLLEXPORT VoECodec {
@@ -131,6 +132,10 @@ class WEBRTC_DLLEXPORT VoECodec {
// success, and -1 if failed.
virtual int SetOpusDtx(int channel, bool enable_dtx) = 0;
+ // Get a pointer to the event logging object associated with this Voice
+ // Engine.
Henrik Grunell WebRTC 2015/08/14 13:11:20 Also document the lifetime here. Until VoE is dest
ivoc 2015/08/14 13:23:13 Done.
+ virtual RtcEventLog* GetEventLog() = 0;
Henrik Grunell WebRTC 2015/08/14 13:11:20 Just to verify: is the event log thread safe?
ivoc 2015/08/14 13:23:13 Yes, it is indeed thread safe.
Henrik Grunell WebRTC 2015/08/14 13:41:44 Acknowledged.
+
protected:
VoECodec() {}
virtual ~VoECodec() {}
« no previous file with comments | « webrtc/voice_engine/channel_manager.cc ('k') | webrtc/voice_engine/shared_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698