From bb68a31c3a3bd4b0b3d053742b4f16ea78d25987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=87=91=E5=AE=87?= Date: Tue, 3 Mar 2020 09:41:32 +0800 Subject: [PATCH] modify about onRtcStats --- android/src/main/java/com/syan/agora/AgoraModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/syan/agora/AgoraModule.java b/android/src/main/java/com/syan/agora/AgoraModule.java index de69b2faa..eafecb589 100644 --- a/android/src/main/java/com/syan/agora/AgoraModule.java +++ b/android/src/main/java/com/syan/agora/AgoraModule.java @@ -811,7 +811,7 @@ public void run() { statsMap.putInt("rxVideoBytes", stats.rxVideoBytes); statsMap.putInt("txKBitRate", stats.txKBitRate); statsMap.putInt("rxKBitRate", stats.rxKBitRate); - statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate); + statsMap.putInt("txAudioKBitRate", stats.txAudioKBitRate); statsMap.putInt("rxAudioKBitRate", stats.rxAudioKBitRate); statsMap.putInt("txVideoKBitRate", stats.txVideoKBitRate); statsMap.putInt("rxVideoKBitRate", stats.rxVideoKBitRate);