Browse Source

modify about onRtcStats

赵金宇 4 years ago
parent
commit
bb68a31c3a
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);