struct Obsctl::OBS::TelemetrySample

Defined in:

obsctl/obs/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(stats : State::ObsStats, stream_active : Bool, record_active : Bool, stream_bytes : Int64 | Nil, stream_duration_ms : Int64 | Nil, record_duration_ms : Int64 | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(stats _stats = @stats, stream_active _stream_active = @stream_active, record_active _record_active = @record_active, stream_bytes _stream_bytes = @stream_bytes, stream_duration_ms _stream_duration_ms = @stream_duration_ms, record_duration_ms _record_duration_ms = @record_duration_ms) #

[View source]
def record_active : Bool #

def record_duration_ms : Int64 | Nil #

def stats : State::ObsStats #

def stream_active : Bool #

def stream_bytes : Int64 | Nil #

def stream_duration_ms : Int64 | Nil #