Kaynağa Gözat

modify about onRtcStats

赵金宇 4 yıl önce
ebeveyn
işleme
bb68a31c3a

+ 1
- 1
android/src/main/java/com/syan/agora/AgoraModule.java Dosyayı Görüntüle

@@ -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);