Index: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
diff --git a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
index 674a05c4cbce6e270424229b4ad2daa1f3b4ecf1..d3d2a2d790cf20506ca0042d5b64955517fcd481 100644 |
--- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
+++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc |
@@ -21,6 +21,7 @@ |
#include "gflags/gflags.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/base/format_macros.h" |
+#include "webrtc/call/rtc_event_log.h" |
#include "webrtc/engine_configurations.h" |
#include "webrtc/modules/audio_processing/include/audio_processing.h" |
#include "webrtc/test/channel_transport/channel_transport.h" |
@@ -447,6 +448,7 @@ |
printf("%i. Set bit rate (only take effect on codecs that allow the " |
"change) \n", option_index++); |
printf("%i. Toggle AECdump recording \n", option_index++); |
+ printf("%i. Record RtcEventLog file of 30 seconds \n", option_index++); |
printf("Select action or %i to stop the call: ", option_index); |
int option_selection; |
@@ -793,6 +795,9 @@ |
printf("Debug recording named %s started\n", kDebugFileName); |
} |
debug_recording_started = !debug_recording_started; |
+ } else if (option_selection == option_index++) { |
+ const char* kDebugFileName = "eventlog.rel"; |
+ codec->GetEventLog()->StartLogging(kDebugFileName, 30000); |
} else { |
break; |
} |