File tree 2 files changed +4
-4
lines changed
android/src/main/java/io/agora/rtc/base
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ fun LocalAudioStats.toMap(): Map<String, Any?> {
22
22
23
23
fun RtcStats.toMap (): Map <String , Any ?> {
24
24
return hashMapOf(
25
- " totalDuration " to totalDuration,
25
+ " duration " to totalDuration,
26
26
" txBytes" to txBytes,
27
27
" rxBytes" to rxBytes,
28
28
" txAudioBytes" to txAudioBytes,
@@ -35,7 +35,7 @@ fun RtcStats.toMap(): Map<String, Any?> {
35
35
" rxAudioKBitRate" to rxAudioKBitRate,
36
36
" txVideoKBitRate" to txVideoKBitRate,
37
37
" rxVideoKBitRate" to rxVideoKBitRate,
38
- " users " to users,
38
+ " userCount " to users,
39
39
" lastmileDelay" to lastmileDelay,
40
40
" txPacketLossRate" to txPacketLossRate,
41
41
" rxPacketLossRate" to rxPacketLossRate,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ extension AgoraRtcLocalAudioStats {
32
32
extension AgoraChannelStats {
33
33
func toMap( ) -> [ String : Any ? ] {
34
34
return [
35
- " totalDuration " : duration,
35
+ " duration " : duration,
36
36
" txBytes " : txBytes,
37
37
" rxBytes " : rxBytes,
38
38
" txAudioBytes " : txAudioBytes,
@@ -45,7 +45,7 @@ extension AgoraChannelStats {
45
45
" rxAudioKBitRate " : rxAudioKBitrate,
46
46
" txVideoKBitRate " : txVideoKBitrate,
47
47
" rxVideoKBitRate " : rxVideoKBitrate,
48
- " users " : userCount,
48
+ " userCount " : userCount,
49
49
" lastmileDelay " : lastmileDelay,
50
50
" txPacketLossRate " : txPacketLossRate,
51
51
" rxPacketLossRate " : rxPacketLossRate,
You can’t perform that action at this time.
0 commit comments