xref: /aosp_15_r20/external/webrtc/rtc_tools/py_event_log_analyzer/README.md (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1# RTP log analyzer
2This file describes how to set up and use the RTP log analyzer.
3
4## Build
5
6```shell
7$ autoninja -C out/my_build webrtc:rtp_analyzer
8```
9
10## Usage
11
12```shell
13./out/my_build/rtp_analyzer.sh [options] /path/to/rtc_event.log
14```
15
16where `/path/to/rtc_event.log` is a recorded RTC event log, which is stored in
17protobuf format. Such logs are generated in multiple ways, e.g. by Chrome
18through the chrome://webrtc-internals page.
19
20Use `--help` for the options.
21
22The script requires Python (2.7 or 3+) and it has the following dependencies:
23Dependencies (available on pip):
24- matplotlib (http://matplotlib.org/)
25- numpy (http://www.numpy.org/)
26- protobuf (https://pypi.org/project/protobuf/)
27