webrtc/rtc_tools/network_tester
Mirko Bonadei 92ea95e34a Fixing WebRTC after moving from src/webrtc to src/
In https://webrtc-review.googlesource.com/c/src/+/1560 we moved WebRTC
from src/webrtc to src/ (in order to preserve an healthy git history).
This CL takes care of fixing header guards, #include paths, etc...

NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
TBR=tommi@webrtc.org


Bug: chromium:611808
Change-Id: Iea91618212bee0af16aa3f05071eab8f93706578
Reviewed-on: https://webrtc-review.googlesource.com/1561
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19846}
2017-09-15 05:02:56 +00:00
..
androidapp Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
BUILD.gn Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
config_reader.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
config_reader.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
create_network_tester_config.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
jni.cpp Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
network_tester_config.proto Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
network_tester_packet.proto Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
network_tester_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_logger.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_logger.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_sender.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_sender.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
parse_packet_log.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
server.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
test_controller.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
test_controller.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00

This file explains how to run the network tester and how to analyze the results.

create config files
===================
use create_network_tester_config.py  to create config files.
you can add or change the AddConfig call in the main function to create a
the desired network config.

run network_tester_server
=========================
place the network config file next to the server binary and name it
"server_config.dat".

the network_tester_server should run on a server with a public IP address.

the log file of network_tester_server will be created next to the binary with
the name "server_packet_log.dat"


run NetworkTesterMobile (apk)
=============================
change the IP and the port in the jni.cpp file and set it to the port and IP
you run the network_tester_server on.

place the network config file as "/mnt/sdcard/network_tester_client_config.dat"
on the tester android phone.

The log file of network_tester_server will be created at
"/mnt/sdcard/network_tester_client_packet_log.dat"


analyze the results
====================
run "python parse_packet_log.py -f <log_file_to_parse>" to analyze the
log results.