Browse Source

Merge pull request #133 from yuwenbai/agora-rtc

modify about onRtcStats
matrixbirds 4 years ago
parent
commit
0c5199f4e0
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 1
- 1
android/src/main/java/com/syan/agora/AgoraModule.java View File

811
                     statsMap.putInt("rxVideoBytes", stats.rxVideoBytes);
811
                     statsMap.putInt("rxVideoBytes", stats.rxVideoBytes);
812
                     statsMap.putInt("txKBitRate", stats.txKBitRate);
812
                     statsMap.putInt("txKBitRate", stats.txKBitRate);
813
                     statsMap.putInt("rxKBitRate", stats.rxKBitRate);
813
                     statsMap.putInt("rxKBitRate", stats.rxKBitRate);
814
-                    statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate);
814
+                    statsMap.putInt("txAudioKBitRate", stats.txAudioKBitRate);
815
                     statsMap.putInt("rxAudioKBitRate", stats.rxAudioKBitRate);
815
                     statsMap.putInt("rxAudioKBitRate", stats.rxAudioKBitRate);
816
                     statsMap.putInt("txVideoKBitRate", stats.txVideoKBitRate);
816
                     statsMap.putInt("txVideoKBitRate", stats.txVideoKBitRate);
817
                     statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate);
817
                     statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate);