opentok / opentok-network-test

Sample app to test network connectivity and statistics (bps, packet-lost)
MIT License
112 stars 56 forks source link

Android refactoring + rtc stats #58

Open vona-ben opened 1 year ago

vona-ben commented 1 year ago

Note: A dev branch should be created so we can merge this after review

Complete refactoring of Android code. Using a similar approach of OPENTOK network library JS.

Added NetworkQualityTest class is a utility for testing network quality and gathering statistics during video streaming sessions using the OpenTok platform. It allows monitoring various network and media statistics, such as video bitrate, audio quality, round-trip time, and more.

The NetworkQualityTest will send regular callbacks which can be handled using NetworkQualityTestCallbackListener.

The MainActivityclass is a sample that shows how to use this class and how to handle the callback.

Screenshot 2023-08-30 at 5 40 43 PM