Class: OBS::WebSocket::Protocol::Responses::GetVideoInfo

Inherits:
OBS::WebSocket::Protocol::Response show all
Defined in:
lib/obs/websocket/protocol.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Response

Instance Attribute Details

#base_heightInteger (readonly)

Returns baseHeight field.

Returns:

  • (Integer)

    baseHeight field



3499
# File 'lib/obs/websocket/protocol.rb', line 3499

def base_height; get_field("baseHeight", Types::Integer); end

#base_widthInteger (readonly)

Returns baseWidth field.

Returns:

  • (Integer)

    baseWidth field



3496
# File 'lib/obs/websocket/protocol.rb', line 3496

def base_width; get_field("baseWidth", Types::Integer); end

#color_rangeString (readonly)

Returns colorRange field.

Returns:

  • (String)

    colorRange field



3520
# File 'lib/obs/websocket/protocol.rb', line 3520

def color_range; get_field("colorRange", Types::String); end

#color_spaceString (readonly)

Returns colorSpace field.

Returns:

  • (String)

    colorSpace field



3517
# File 'lib/obs/websocket/protocol.rb', line 3517

def color_space; get_field("colorSpace", Types::String); end

#fpsFloat (readonly)

Returns fps field.

Returns:

  • (Float)

    fps field



3511
# File 'lib/obs/websocket/protocol.rb', line 3511

def fps; get_field("fps", Types::Float); end

#output_heightInteger (readonly)

Returns outputHeight field.

Returns:

  • (Integer)

    outputHeight field



3505
# File 'lib/obs/websocket/protocol.rb', line 3505

def output_height; get_field("outputHeight", Types::Integer); end

#output_widthInteger (readonly)

Returns outputWidth field.

Returns:

  • (Integer)

    outputWidth field



3502
# File 'lib/obs/websocket/protocol.rb', line 3502

def output_width; get_field("outputWidth", Types::Integer); end

#scale_typeString (readonly)

Returns scaleType field.

Returns:

  • (String)

    scaleType field



3508
# File 'lib/obs/websocket/protocol.rb', line 3508

def scale_type; get_field("scaleType", Types::String); end

#video_formatString (readonly)

Returns videoFormat field.

Returns:

  • (String)

    videoFormat field



3514
# File 'lib/obs/websocket/protocol.rb', line 3514

def video_format; get_field("videoFormat", Types::String); end