struct
Obsctl::OBS::State::ObsSnapshot
- Obsctl::OBS::State::ObsSnapshot
- Struct
- Value
- Object
Overview
Authoritative OBS state snapshot distributed by the local server.
Defined in:
obsctl/obs/state/obs_snapshot.crConstructors
Instance Method Summary
- #audio_inputs : Array(AudioState)
- #clone
- #connected : Bool
- #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)
- #current_profile : String | Nil
- #current_scene : String | Nil
- #current_scene_collection : String | Nil
- #last_error : String | Nil
- #obs_studio_version : String | Nil
- #obs_websocket_version : String | Nil
- #output : OutputState
- #profiles : Array(String)
- #record_duration_ms : Int64 | Nil
- #scene_collections : Array(String)
- #scenes : Array(SceneState)
- #stats : ObsStats | Nil
- #stream_bitrate_kbps : Float64 | Nil
- #stream_duration_ms : Int64 | Nil
- #updated_at : Time
Constructor Detail
def self.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)
#
Instance Method Detail
def 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)
#