| 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 ee9306dd834abde94310c205d587aee984a17592..bb524639ed0768d9ef9758a7d8ae82f1ca6422fb 100644
|
| --- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
|
| +++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
|
| @@ -25,6 +25,7 @@
|
| #include "webrtc/test/channel_transport/include/channel_transport.h"
|
| #include "webrtc/test/testsupport/fileutils.h"
|
| #include "webrtc/test/testsupport/trace_to_stderr.h"
|
| +#include "webrtc/video/rtc_event_log.h"
|
| #include "webrtc/voice_engine/include/voe_audio_processing.h"
|
| #include "webrtc/voice_engine/include/voe_base.h"
|
| #include "webrtc/voice_engine/include/voe_codec.h"
|
| @@ -451,7 +452,8 @@ void RunTest(std::string out_path) {
|
| printf("%i. Toggle Opus DTX \n", option_index++);
|
| printf("%i. Set bit rate (only take effect on codecs that allow the "
|
| "change) \n", option_index++);
|
| - printf("%i. Toggle debug recording \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;
|
| @@ -798,6 +800,9 @@ void RunTest(std::string out_path) {
|
| 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;
|
| }
|
|
|