Alessio Bazzica | 418f0c5 | 2019-07-24 14:33:01 | [diff] [blame] | 1 | # RTP log analyzer |
| 2 | This 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 | |
| 16 | where `/path/to/rtc_event.log` is a recorded RTC event log, which is stored in |
| 17 | protobuf format. Such logs are generated in multiple ways, e.g. by Chrome |
| 18 | through the chrome://webrtc-internals page. |
| 19 | |
| 20 | Use `--help` for the options. |
| 21 | |
| 22 | The script requires Python (2.7 or 3+) and it has the following dependencies: |
| 23 | Dependencies (available on pip): |
| 24 | - matplotlib (http://matplotlib.org/) |
| 25 | - numpy (http://www.numpy.org/) |
| 26 | - protobuf (https://pypi.org/project/protobuf/) |