Obsctl::OBS::State::ObsSnapshot
Authoritative OBS state snapshot distributed by the local server.
Constructors
new(connected : Bool, obs_studio_version : String | Nil, obs_websocket_version : String | Nil, current_scene : String | Nil, scenes : Array(SceneState), audio_inputs : Array(AudioState), output : OutputState = OutputState.new, profiles : Array(String) = [] of String, current_profile : String | Nil = nil, scene_collections : Array(String) = [] of String, current_scene_collection : String | Nil = nil, stats : ObsStats | Nil = nil, stream_bitrate_kbps : Float64 | Nil = nil, stream_duration_ms : Int64 | Nil = nil, record_duration_ms : Int64 | Nil = nil, last_error : String | Nil = nil, updated_at : Time = Time.utc)
SourceInstance methods
audio_inputs
clone
Sourceconnected
copy_with(connected _connected = @connected, obs_studio_version _obs_studio_version = @obs_studio_version, obs_websocket_version _obs_websocket_version = @obs_websocket_version, current_scene _current_scene = @current_scene, scenes _scenes = @scenes, audio_inputs _audio_inputs = @audio_inputs, output _output = @output, profiles _profiles = @profiles, current_profile _current_profile = @current_profile, scene_collections _scene_collections = @scene_collections, current_scene_collection _current_scene_collection = @current_scene_collection, stats _stats = @stats, stream_bitrate_kbps _stream_bitrate_kbps = @stream_bitrate_kbps, stream_duration_ms _stream_duration_ms = @stream_duration_ms, record_duration_ms _record_duration_ms = @record_duration_ms, last_error _last_error = @last_error, updated_at _updated_at = @updated_at)
Sourcecurrent_profile
current_scene
current_scene_collection
last_error
obs_studio_version
obs_websocket_version
output
profiles
record_duration_ms
scene_collections
scenes
stats
stream_bitrate_kbps
stream_duration_ms
updated_at