Sfoglia il codice sorgente

Merge pull request #133 from yuwenbai/agora-rtc

modify about onRtcStats
matrixbirds 4 anni fa
parent
commit
0c5199f4e0
No account linked to committer's email address
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 1
- 1
android/src/main/java/com/syan/agora/AgoraModule.java Vedi 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);