Skip to content

Commit e299fa2

Browse files
committed
Update doc
1 parent 0a86fdc commit e299fa2

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

articles/communication-services/resources/troubleshooting/voice-video-calling/references/how-to-collect-diagnostic-audio-recordings.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,33 @@ After you finish an ACS call, you should be able to see files saved in the folde
3131

3232
`*.aecdump` contains the necessary wav files for debugging audio after processed by the audio processing module in browsers.
3333

34-
## How to inspect aecdump files
34+
## How to build tools for inspecting aecdump files
35+
To inspect `*.aecdump` files, you must use the `unpack_aecdump` utility program, the source code can be found at [unpack\_aecdump](https://chromium.googlesource.com/external/webrtc/+/HEAD/rtc_tools/unpack_aecdump?autodive=0)
36+
37+
You need to prepare the build environment (Here we use Windows as an example)
38+
39+
Prerequisites:
40+
41+
* Visual Studio 2022
42+
* Python 3
43+
* depot\_tools: See Install depot\_tools in [Checking out and Building Chromium for Windows](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/windows_build_instructions.md#Install)
3544

36-
To inspect `*.aecdump` files, you must use the `unpack_aecdump` utility program, the source code of which is available on the Internet.
45+
Make sure you add depot\_tools to the start of your PATH and it must be ahead of any installs of Python.
46+
47+
Run the following commands
48+
```sh
49+
mkdir webrtc
50+
cd webrtc
51+
gclient
52+
fetch --nohooks webrtc
53+
gclient sync
54+
cd src
55+
gn gen out/Default
56+
ninja -C out/Default unpack_aecdump
57+
```
58+
The file is available at webrtc/src/out/Default/unpack\_aecdump.exe
59+
60+
## How to inspect aecdump files
3761

3862
Run the command:
3963

0 commit comments

Comments
 (0)