RCRTCRemoteVideoStats.fromJson constructor

RCRTCRemoteVideoStats.fromJson(
  1. Map json
)

Implementation

RCRTCRemoteVideoStats.fromJson(Map<dynamic, dynamic> json)
    : codec = RCRTCVideoCodecType.values[json['codec']],
      bitrate = json['bitrate'],
      fps = json['fps'],
      width = json['width'],
      height = json['height'],
      packageLostRate = json['packageLostRate'],
      rtt = json['rtt'];