RTCOutboundRtpStreamStats constructor

RTCOutboundRtpStreamStats({
  1. String? mid,
  2. String? mediaSourceId,
  3. String? remoteId,
  4. String? rid,
  5. int? headerBytesSent,
  6. int? retransmittedPacketsSent,
  7. int? retransmittedBytesSent,
  8. double? targetBitrate,
  9. int? totalEncodedBytesTarget,
  10. int? frameWidth,
  11. int? frameHeight,
  12. double? framesPerSecond,
  13. int? framesSent,
  14. int? hugeFramesSent,
  15. int? framesEncoded,
  16. int? keyFramesEncoded,
  17. int? qpSum,
  18. double? totalEncodeTime,
  19. double? totalPacketSendDelay,
  20. RTCQualityLimitationReason? qualityLimitationReason,
  21. dynamic qualityLimitationDurations,
  22. int? qualityLimitationResolutionChanges,
  23. int? nackCount,
  24. int? firCount,
  25. int? pliCount,
  26. String? encoderImplementation,
  27. bool? active,
})

Implementation

factory RTCOutboundRtpStreamStats(
        {String? mid,
        String? mediaSourceId,
        String? remoteId,
        String? rid,
        int? headerBytesSent,
        int? retransmittedPacketsSent,
        int? retransmittedBytesSent,
        double? targetBitrate,
        int? totalEncodedBytesTarget,
        int? frameWidth,
        int? frameHeight,
        double? framesPerSecond,
        int? framesSent,
        int? hugeFramesSent,
        int? framesEncoded,
        int? keyFramesEncoded,
        int? qpSum,
        double? totalEncodeTime,
        double? totalPacketSendDelay,
        RTCQualityLimitationReason? qualityLimitationReason,
        dynamic qualityLimitationDurations,
        int? qualityLimitationResolutionChanges,
        int? nackCount,
        int? firCount,
        int? pliCount,
        String? encoderImplementation,
        bool? active}) =>
    RTCOutboundRtpStreamStats._(
        mid: mid ?? undefined,
        mediaSourceId: mediaSourceId ?? undefined,
        remoteId: remoteId ?? undefined,
        rid: rid ?? undefined,
        headerBytesSent: headerBytesSent ?? undefined,
        retransmittedPacketsSent: retransmittedPacketsSent ?? undefined,
        retransmittedBytesSent: retransmittedBytesSent ?? undefined,
        targetBitrate: targetBitrate ?? undefined,
        totalEncodedBytesTarget: totalEncodedBytesTarget ?? undefined,
        frameWidth: frameWidth ?? undefined,
        frameHeight: frameHeight ?? undefined,
        framesPerSecond: framesPerSecond ?? undefined,
        framesSent: framesSent ?? undefined,
        hugeFramesSent: hugeFramesSent ?? undefined,
        framesEncoded: framesEncoded ?? undefined,
        keyFramesEncoded: keyFramesEncoded ?? undefined,
        qpSum: qpSum ?? undefined,
        totalEncodeTime: totalEncodeTime ?? undefined,
        totalPacketSendDelay: totalPacketSendDelay ?? undefined,
        qualityLimitationReason: qualityLimitationReason?.value ?? undefined,
        qualityLimitationDurations: qualityLimitationDurations ?? undefined,
        qualityLimitationResolutionChanges:
            qualityLimitationResolutionChanges ?? undefined,
        nackCount: nackCount ?? undefined,
        firCount: firCount ?? undefined,
        pliCount: pliCount ?? undefined,
        encoderImplementation: encoderImplementation ?? undefined,
        active: active ?? undefined);