StreamStatusEvent class Null safety

Emitted every 2 seconds when stream is active.

Annotations

Constructors

StreamStatusEvent({double? avgFrameTime, int? bytesPerSec, double? cpuUsage, double? fps, double? freeDiskSpace, int? kbitsPerSec, double? memoryUsage, int? numDroppedFrames, int? numTotalFrames, int? outputSkippedFrames, int? outputTotalFrames, bool? previewOnly, bool? recording, bool? recordingPaused, int? renderMissedFrames, int? renderTotalFrames, bool? replayBufferActive, double? strain, String? streamTimeCode, bool? streaming, int? totalStreamTime, required String updateType})
StreamStatusEvent.fromJson(Map<String, dynamic> json)
factory

Properties

avgFrameTime double?
@JsonKey(name: 'average-frame-time'), final
bytesPerSec int?
@JsonKey(name: 'bytes-per-sec'), final
cpuUsage double?
@JsonKey(name: 'cpu-usage'), final
fps double?
@JsonKey(name: 'fps'), final
freeDiskSpace double?
@JsonKey(name: 'free-disk-space'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
kbitsPerSec int?
@JsonKey(name: 'kbits-per-sec'), final
memoryUsage double?
@JsonKey(name: 'memory-usage'), final
numDroppedFrames int?
@JsonKey(name: 'num-dropped-frames'), final
numTotalFrames int?
@JsonKey(name: 'num-total-frames'), final
outputSkippedFrames int?
@JsonKey(name: 'output-skipped-frames'), final
outputTotalFrames int?
@JsonKey(name: 'output-total-frames'), final
previewOnly bool?
@JsonKey(name: 'preview-only'), final
recording bool?
@JsonKey(name: 'recording'), final
recordingPaused bool?
@JsonKey(name: 'recording-paused'), final
renderMissedFrames int?
@JsonKey(name: 'render-missed-frames'), final
renderTotalFrames int?
@JsonKey(name: 'render-total-frames'), final
replayBufferActive bool?
@JsonKey(name: 'replay-buffer-active'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strain double?
@JsonKey(name: 'strain'), final
streaming bool?
@JsonKey(name: 'streaming'), final
streamTimeCode String?
@JsonKey(name: 'stream-timecode'), final
totalStreamTime int?
@JsonKey(name: 'total-stream-time'), final
updateType String
@JsonKey(name: 'update-type'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited