NERtcVideoLayerRecvStats.fromMap constructor

NERtcVideoLayerRecvStats.fromMap(
  1. Map stats
)

Implementation

NERtcVideoLayerRecvStats.fromMap(Map stats)
    : layerType = stats['layerType'],
      width = stats['width'],
      height = stats['height'],
      receivedBitrate = stats['receivedBitrate'],
      fps = stats['fps'],
      packetLossRate = stats['packetLossRate'],
      decoderOutputFrameRate = stats['decoderOutputFrameRate'],
      rendererOutputFrameRate = stats['rendererOutputFrameRate'],
      totalFrozenTime = stats['totalFrozenTime'],
      frozenRate = stats['frozenRate'],
      decoderName = stats['decoderName'];