InboundRtp constructor

InboundRtp({
  1. RtpBase? base,
  2. double? jitterSeconds,
  3. Int64? packetsReceived,
  4. Int64? packetsLost,
  5. double? packetLossPercent,
  6. int? concealmentEvents,
  7. double? concealmentPercent,
  8. double? fps,
  9. double? freezeDurationSeconds,
  10. double? avgDecodeTimeSeconds,
  11. int? minDimensionPx,
})

Implementation

factory InboundRtp({
  RtpBase? base,
  $core.double? jitterSeconds,
  $fixnum.Int64? packetsReceived,
  $fixnum.Int64? packetsLost,
  $core.double? packetLossPercent,
  $core.int? concealmentEvents,
  $core.double? concealmentPercent,
  $core.double? fps,
  $core.double? freezeDurationSeconds,
  $core.double? avgDecodeTimeSeconds,
  $core.int? minDimensionPx,
}) {
  final result = create();
  if (base != null) result.base = base;
  if (jitterSeconds != null) result.jitterSeconds = jitterSeconds;
  if (packetsReceived != null) result.packetsReceived = packetsReceived;
  if (packetsLost != null) result.packetsLost = packetsLost;
  if (packetLossPercent != null) result.packetLossPercent = packetLossPercent;
  if (concealmentEvents != null) result.concealmentEvents = concealmentEvents;
  if (concealmentPercent != null)
    result.concealmentPercent = concealmentPercent;
  if (fps != null) result.fps = fps;
  if (freezeDurationSeconds != null)
    result.freezeDurationSeconds = freezeDurationSeconds;
  if (avgDecodeTimeSeconds != null)
    result.avgDecodeTimeSeconds = avgDecodeTimeSeconds;
  if (minDimensionPx != null) result.minDimensionPx = minDimensionPx;
  return result;
}