summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/rtc_tools/py_event_log_analyzer/README.md
blob: 12f436c3d7261345923e1125fa112d9fd23ad946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# RTP log analyzer
This file describes how to set up and use the RTP log analyzer.

## Build

```shell
$ autoninja -C out/my_build webrtc:rtp_analyzer
```

## Usage

```shell
./out/my_build/rtp_analyzer.sh [options] /path/to/rtc_event.log
```

where `/path/to/rtc_event.log` is a recorded RTC event log, which is stored in
protobuf format. Such logs are generated in multiple ways, e.g. by Chrome
through the chrome://webrtc-internals page.

Use `--help` for the options.

The script requires Python (2.7 or 3+) and it has the following dependencies:
Dependencies (available on pip):
- matplotlib (http://matplotlib.org/)
- numpy (http://www.numpy.org/)
- protobuf (https://pypi.org/project/protobuf/)