webrtc/rtc_tools/network_tester
Mirko Bonadei 17f4878419 Remove deprecated field_trial_default and metrics_default.
This CL removes some deprecated build targets (and their headers)
from system_wrappers:
- field_trial_api
- field_trial_default
- metrics_api
- metrics_default

It also refreshes all the dependencies on field_trial.h and metrics.h.

A nice side effect is that it is finally possible to remove 'nogncheck'
from the following files (when it was used with field_trial_default
and metrics_default):
- sdk/objc/api/peerconnection/RTCMetricsSampleInfo+Private.h
- sdk/android/src/jni/pc/peerconnectionfactory.cc
- sdk/objc/api/peerconnection/RTCFieldTrials.mm

Bug: webrtc:9631
Change-Id: Ib621f41ef8ad0aba4fe1c1d7e749c044afc956c3
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/100524
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24878}
2018-09-28 07:21:07 +00:00
..
androidapp Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
BUILD.gn Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
config_reader.cc Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +00:00
config_reader.h Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +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 Reformat the WebRTC code base 2018-06-19 14:00:39 +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 Optional: Use nullopt and implicit construction in /rtc_tools 2017-11-29 12:22:29 +00:00
packet_sender.h Delete macro RTC_ACCESS_ON, replaced by RTC_GUARDED_BY. 2018-02-07 10:07:28 +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 Normalize main(..) routines for WinUWP 2017-12-12 14:32:56 +00:00
test_controller.cc Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +00:00
test_controller.h Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +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.