NERtcStats.fromMap constructor

NERtcStats.fromMap(
  1. Map stats
)

Implementation

NERtcStats.fromMap(Map stats)
    : txBytes = stats['txBytes'],
      rxBytes = stats['rxBytes'],
      cpuAppUsage = stats['cpuAppUsage'],
      cpuTotalUsage = stats['cpuTotalUsage'],
      memoryAppUsageRatio = stats['memoryAppUsageRatio'],
      memoryTotalUsageRatio = stats['memoryTotalUsageRatio'],
      memoryAppUsageInKBytes = stats['memoryAppUsageInKBytes'],
      totalDuration = stats['totalDuration'],
      txAudioBytes = stats['txAudioBytes'],
      txVideoBytes = stats['txVideoBytes'],
      rxAudioBytes = stats['rxAudioBytes'],
      rxVideoBytes = stats['rxVideoBytes'],
      rxAudioKBitRate = stats['rxAudioKBitRate'],
      rxVideoKBitRate = stats['rxVideoKBitRate'],
      txAudioKBitRate = stats['txAudioKBitRate'],
      txVideoKBitRate = stats['txVideoKBitRate'],
      upRtt = stats['upRtt'],
      downRtt = stats['downRtt'],
      txAudioPacketLossRate = stats['txAudioPacketLossRate'],
      txVideoPacketLossRate = stats['txVideoPacketLossRate'],
      txAudioPacketLossSum = stats['txAudioPacketLossSum'],
      txVideoPacketLossSum = stats['txVideoPacketLossSum'],
      txAudioJitter = stats['txAudioJitter'],
      txVideoJitter = stats['txVideoJitter'],
      rxAudioPacketLossRate = stats['rxAudioPacketLossRate'],
      rxVideoPacketLossRate = stats['rxVideoPacketLossRate'],
      rxAudioPacketLossSum = stats['rxAudioPacketLossSum'],
      rxVideoPacketLossSum = stats['rxVideoPacketLossSum'],
      rxAudioJitter = stats['rxAudioJitter'],
      rxVideoJitter = stats['rxVideoJitter'];