Class: FastpixApiSDK::Models::Components::InputMediaSettings

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_api_sdk/models/components/inputmediasettings.rb

Overview

Displays the result of the input Media settings.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(metadata: nil, max_resolution: Models::Components::CreateLiveStreamRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP, reconnect_window: 60, media_policy: Models::Components::MediaPolicy::PUBLIC) ⇒ InputMediaSettings

Returns a new instance of InputMediaSettings.



26
27
28
29
30
31
# File 'lib/fastpix_api_sdk/models/components/inputmediasettings.rb', line 26

def initialize(metadata: nil, max_resolution: Models::Components::CreateLiveStreamRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP, reconnect_window: 60, media_policy: Models::Components::MediaPolicy::PUBLIC)
   = 
  @max_resolution = max_resolution
  @reconnect_window = reconnect_window
  @media_policy = media_policy
end

Instance Method Details

#==(other) ⇒ Object



34
35
36
37
38
39
40
41
# File 'lib/fastpix_api_sdk/models/components/inputmediasettings.rb', line 34

def ==(other)
  return false unless other.is_a? self.class
  return false unless  == other.
  return false unless @max_resolution == other.max_resolution
  return false unless @reconnect_window == other.reconnect_window
  return false unless @media_policy == other.media_policy
  true
end