ZoomVideoSdkQOSStatistics.fromJson constructor
ZoomVideoSdkQOSStatistics.fromJson(
- Map<String, dynamic> json
)
Implementation
ZoomVideoSdkQOSStatistics.fromJson(Map<String, dynamic> json)
: direction =
_required(json, 'direction', ZoomVideoSdkStatisticsDirection.send),
timestamp = _required<num>(json, 'timestamp', 0),
codecName = json['codecName'],
rtt = _required<num>(json, 'rtt', 0),
jitter = _required<num>(json, 'jitter', 0),
width = _required<num>(json, 'width', 0),
height = _required<num>(json, 'height', 0),
fps = _required<num>(json, 'fps', 0),
bps = _required<num>(json, 'bps', 0),
bpf = json['bpf'],
bytesTransferred = _required<num>(json, 'bytesTransferred', 0),
packetsLost = _required<num>(json, 'packetsLost', 0),
packetsTransferred = _required<num>(json, 'packetsTransferred', 0),
networkLevel =
_required(json, 'networkLevel', 'ZoomVideoSDKNetwork_None'),
statisticsType =
_required(json, 'statisticsType', 'ZoomVideoSDKDataType_Unknown'),
avgLoss = _required<num>(json, 'avgLoss', 0),
maxLoss = _required<num>(json, 'maxLoss', 0),
bandwidth = _required<num>(json, 'bandwidth', 0),
frameWidthInput = json['frameWidthInput'],
frameHeightInput = json['frameHeightInput'],
frameRateInput = json['frameRateInput'],
totalPacketSendDelay = json['totalPacketSendDelay'],
totalEncodeTime = json['totalEncodeTime'],
framesEncoded = json['framesEncoded'],
bytesReceived = json['bytesReceived'],
packetsReceived = json['packetsReceived'],
estimatedPlayoutTimestamp = json['estimatedPlayoutTimestamp'],
totalDecodeTime = json['totalDecodeTime'],
framesDecoded = json['framesDecoded'],
jitterBufferDelay = json['jitterBufferDelay'],
jitterBufferEmittedCount = json['jitterBufferEmittedCount'],
headerBytesReceived = json['headerBytesReceived'],
packetsDiscarded = json['packetsDiscarded'],
fecPacketsReceived = json['fecPacketsReceived'],
fecPacketsDiscarded = json['fecPacketsDiscarded'],
jitterBufferTargetDelay = json['jitterBufferTargetDelay'],
jitterBufferMinimumDelay = json['jitterBufferMinimumDelay'],
totalSamplesReceived = json['totalSamplesReceived'],
concealedSamples = json['concealedSamples'],
silentConcealedSamples = json['silentConcealedSamples'],
concealmentEvents = json['concealmentEvents'],
insertedSamplesForDeceleration =
json['insertedSamplesForDeceleration'],
removedSamplesForAcceleration = json['removedSamplesForAcceleration'],
totalSamplesDuration = json['totalSamplesDuration'],
audioLevel = json['audioLevel'],
totalAudioEnergy = json['totalAudioEnergy'];