gecko-dev/third_party/libwebrtc/rtc_tools/network_tester
Nico Grunbaum b834809c1f Bug 1892299 - Vendor libwebrtc from dcc1534764
Upstream commit: https://webrtc.googlesource.com/src/+/dcc15347648366b826df15d7e06b11d8b11ca7a9
    Delete rtc::TaskQueue

    All usage was updated to use TaskQueueBase interface directly bypassing rtc::TaskQueue wrapper

    Bug: webrtc:14169
    Change-Id: I1808afd363b50448d4014d8d8402fce41b16a3ff
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/341082
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#41834}
2024-04-26 12:10:17 -07:00
..
androidapp
BUILD.gn Bug 1892299 - Vendor libwebrtc from dcc1534764 2024-04-26 12:10:17 -07:00
README
config_reader.cc
config_reader.h
create_network_tester_config.py
jni.cc
network_tester_config.proto
network_tester_packet.proto
network_tester_unittest.cc
packet_logger.cc
packet_logger.h
packet_sender.cc
packet_sender.h
parse_packet_log.py
server.cc Bug 1876843 - Vendor libwebrtc from 24510d43dc 2024-02-10 17:11:30 -05:00
test_controller.cc Bug 1883116 - Vendor libwebrtc from 0b11bd4c2e 2024-03-15 14:12:11 -06:00
test_controller.h Bug 1883116 - Vendor libwebrtc from 0b11bd4c2e 2024-03-15 14:12:11 -06:00

README

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.