mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 07:10:38 +01:00

- Make rtp_analyzer work with a single SSRC - Simplify rtp_analyzer.sh (it allows to run the python script from any directory) - Update README.md (simplified, added missing dependency) Bug: webrtc:10829 Change-Id: Idb82e7228918a973778762a39b732ce3b26b6bbc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146711 Reviewed-by: Artem Titov <titovartem@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28668}
26 lines
702 B
Markdown
26 lines
702 B
Markdown
# 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/)
|