OLD | NEW |
---|---|
(Empty) | |
1 This file describes how to set up and use the RTP log analyzer. | |
2 | |
3 Run the tool as follows: | |
4 | |
5 python rtp_analyzer.py <rtc event log> | |
6 | |
7 where <rtc event log> is a recorded RTC event log, which is stored in | |
8 protobuf format. Such logs are generated in multiple ways, e.g. by | |
9 Chrome through the chrome://webrtc-internals page. | |
10 | |
11 The script has been tested to work in python versions 3.4.1 and 2.7.6, | |
12 but should work in all python versions for which there is a version | |
13 of the dependencies. | |
14 | |
15 Dependencies | |
16 ------------ | |
17 | |
18 The analyzer script needs *numpy* (http://www.numpy.org/) and | |
19 *matplotlib* (http://matplotlib.org/). | |
20 | |
21 When using python 2, the package *future* | |
22 (https://pypi.python.org/pypi/future) is needed. This package can be | |
23 installed through pip, (https://docs.python.org/2.7/installing/). | |
kwiberg-webrtc
2016/05/25 12:42:41
Hmm. You use very few things from this library---j
aleloi2
2016/05/30 14:57:55
Yes, I changed bultins.range to just 'range', whic
| |
24 | |
25 A version of Protocol Buffers is needed as well. One is distributed | |
26 along with WebRTC in `thirdparty/protobuf/python`. This tool also | |
27 needs a file `rtc_event_log_pb2.py` which is automatically generated | |
28 from `webrtc/call/rtc_event_log.proto` and placed in | |
29 `out/<TARGET>/pyproto/webrtc/call/` with every WebRTC compilation. To | |
30 use it, WebRTC needs to be compiled before using this tool. | |
31 | |
32 An alternative to compiling WebRTC is to install your own version of | |
33 Protocol Buffers and `protoc`, the Protocol Buffer compiler. | |
34 | |
35 If you use your own version of protobuf, generate the python file in | |
36 this folder with | |
37 | |
38 protoc -I $WEBRTC_ROOT/webrtc/call $WEBRTC_ROOT/webrtc/call/rtc_event_log.pro to --python-out ./ | |
39 | |
OLD | NEW |