Class: OBS::WebSocket::Protocol::Events::Heartbeat
- Inherits:
-
OBS::WebSocket::Protocol::Event
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Event
- OBS::WebSocket::Protocol::Events::Heartbeat
- Defined in:
- lib/obs/websocket/protocol.rb
Instance Attribute Summary collapse
-
#current_profile ⇒ String?
readonly
current-profile
field. -
#current_scene ⇒ String?
readonly
current-scene
field. -
#pulse ⇒ Boolean
readonly
pulse
field. -
#recording ⇒ Boolean?
readonly
recording
field. -
#stats ⇒ OBSStats
readonly
stats
field. -
#streaming ⇒ Boolean?
readonly
streaming
field. -
#total_record_bytes ⇒ Integer?
readonly
total-record-bytes
field. -
#total_record_frames ⇒ Integer?
readonly
total-record-frames
field. -
#total_record_time ⇒ Integer?
readonly
total-record-time
field. -
#total_stream_bytes ⇒ Integer?
readonly
total-stream-bytes
field. -
#total_stream_frames ⇒ Integer?
readonly
total-stream-frames
field. -
#total_stream_time ⇒ Integer?
readonly
total-stream-time
field.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Event
create, #initialize, json_name, #rec_timecode, #stream_timecode, #to_h, #update_type
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Event
Instance Attribute Details
#current_profile ⇒ String? (readonly)
Returns current-profile
field.
309 |
# File 'lib/obs/websocket/protocol.rb', line 309 def current_profile; get_field("current-profile", Types::Optional[Types::String]); end |
#current_scene ⇒ String? (readonly)
Returns current-scene
field.
312 |
# File 'lib/obs/websocket/protocol.rb', line 312 def current_scene; get_field("current-scene", Types::Optional[Types::String]); end |
#pulse ⇒ Boolean (readonly)
Returns pulse
field.
306 |
# File 'lib/obs/websocket/protocol.rb', line 306 def pulse; get_field("pulse", Types::Boolean); end |
#recording ⇒ Boolean? (readonly)
Returns recording
field.
327 |
# File 'lib/obs/websocket/protocol.rb', line 327 def recording; get_field("recording", Types::Optional[Types::Boolean]); end |
#stats ⇒ OBSStats (readonly)
Returns stats
field.
339 |
# File 'lib/obs/websocket/protocol.rb', line 339 def stats; get_field("stats", Types::OBSStats); end |
#streaming ⇒ Boolean? (readonly)
Returns streaming
field.
315 |
# File 'lib/obs/websocket/protocol.rb', line 315 def streaming; get_field("streaming", Types::Optional[Types::Boolean]); end |
#total_record_bytes ⇒ Integer? (readonly)
Returns total-record-bytes
field.
333 |
# File 'lib/obs/websocket/protocol.rb', line 333 def total_record_bytes; get_field("total-record-bytes", Types::Optional[Types::Integer]); end |
#total_record_frames ⇒ Integer? (readonly)
Returns total-record-frames
field.
336 |
# File 'lib/obs/websocket/protocol.rb', line 336 def total_record_frames; get_field("total-record-frames", Types::Optional[Types::Integer]); end |
#total_record_time ⇒ Integer? (readonly)
Returns total-record-time
field.
330 |
# File 'lib/obs/websocket/protocol.rb', line 330 def total_record_time; get_field("total-record-time", Types::Optional[Types::Integer]); end |
#total_stream_bytes ⇒ Integer? (readonly)
Returns total-stream-bytes
field.
321 |
# File 'lib/obs/websocket/protocol.rb', line 321 def total_stream_bytes; get_field("total-stream-bytes", Types::Optional[Types::Integer]); end |