webrtc/rtc_tools/network_tester
Courtney Edwards 35c87b6ada Remove android_manifest_for_lint from BUILD.gn files
Remove android_manifest_for_lint from BUILD.gn files

The Chromium Roll into WebRTC isn't flowing
The first CL that caused the problem is https://webrtc-review.googlesource.com/c/src/+/175140/
The error is: ERROR at //examples/BUILD.gn:104:33: Assignment had no effect. android_manifest_for_lint = "androidapp/AndroidManifest.xml"
android_manifest_for_lint has ben removed so update BUILD files that use that feature to reflect this.

BUG=None

Change-Id: If526d9a4dd80cddca7f2c9dd7f67ba9efe3f1a84
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175661
Commit-Queue: Courtney Edwards <courtneyfe@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31325}
2020-05-19 13:23:25 +00:00
..
androidapp Fix 'all' build on Android platforms. 2020-03-11 08:29:06 +00:00
BUILD.gn Remove android_manifest_for_lint from BUILD.gn files 2020-05-19 13:23:25 +00:00
config_reader.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
config_reader.h Format almost everything. 2019-07-08 13:45:15 +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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
packet_logger.cc Remove webrtc::ProtoString. 2019-02-16 11:11:45 +00:00
packet_logger.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
packet_sender.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
packet_sender.h Replacing SequencedTaskChecker with SequenceChecker. 2019-04-09 12:28:04 +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 Format almost everything. 2019-07-08 13:45:15 +00:00
test_controller.cc Format almost everything. 2019-07-08 13:45:15 +00:00
test_controller.h Format almost everything. 2019-07-08 13:45:15 +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.