blob: 6c77136d04d86ddf89fe37807d847c98dff752af [file] [log] [blame]
aleloi7ebbf902016-06-20 07:39:15 -07001This file describes how to set up and use the RTP log analyzer.
2
3First build the tool with
4
5 ninja -C out/my_build webrtc:rtp_analyzer
6
7The tool is built by default, so
8
9 ninja -C out/my_build
10
11is enough.
12
13After building, run the tool as follows:
14
aleloi0e7000b2016-07-05 07:53:35 -070015 ./out/my_build/rtp_analyzer.sh [options] <rtc event log>
aleloi7ebbf902016-06-20 07:39:15 -070016
17where <rtc event log> is a recorded RTC event log, which is stored in
18protobuf format. Such logs are generated in multiple ways, e.g. by
19Chrome through the chrome://webrtc-internals page.
20
aleloi0e7000b2016-07-05 07:53:35 -070021Options:
22 -h, --help show this help message and exit
23 --dump_header_to_stdout
24 print header info to stdout; similar to rtp_analyze
25 --query_sample_rate always query user for real sample rate
26
aleloi7ebbf902016-06-20 07:39:15 -070027The script has been tested to work in python versions 3.4.1 and 2.7.6,
28but should work in all python versions.
29
30Working versions of NumPy (http://www.numpy.org/) and matplotlib
31(http://matplotlib.org/) are needed to run this tool. See this link
32with installation instructions (http://www.scipy.org/install.html).