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,7 +811,7 @@ public class AgoraModule extends ReactContextBaseJavaModule {
811 811
                     statsMap.putInt("rxVideoBytes", stats.rxVideoBytes);
812 812
                     statsMap.putInt("txKBitRate", stats.txKBitRate);
813 813
                     statsMap.putInt("rxKBitRate", stats.rxKBitRate);
814
-                    statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate);
814
+                    statsMap.putInt("txAudioKBitRate", stats.txAudioKBitRate);
815 815
                     statsMap.putInt("rxAudioKBitRate", stats.rxAudioKBitRate);
816 816
                     statsMap.putInt("txVideoKBitRate", stats.txVideoKBitRate);
817 817
                     statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate);