opentok / opentok-network-test

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

VideoStats listener is not getting fired with Android SDK 2.13 #38

Closed sampathdassanayake closed 6 years ago

sampathdassanayake commented 6 years ago

We are using this with a Tokbox safari project. With the Safari project we upgraded the android SDK to 2.13. But ever since that upgrade the network test is failing. The implementation is pretty much as in the sample except for the fact that we are not listening for audio stats, only video stats.

What I found was that Audio Stats event fires and returns results. But the video stats event doesnt even gets fired.

Is this a known issue?

msach22 commented 6 years ago

@sampathdassanayake I'm running the Android 2.13.0 SDK locally and videoStats is firing for me. Could you verify that you've set the videoStatsListener for the subscriber in your app?

msach22 commented 6 years ago

@sampathdassanayake Closing this issue b/c videoStats is firing correctly, but we're aware of the issue with videoPacketsLost always being set to 0. Please see #37