Class: FastpixClient::Models::Components::InputMediaSettings
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::InputMediaSettings
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/inputmediasettings.rb
Overview
Contains configuration details for input media settings.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(metadata: nil, enable_dvr_mode: nil, enable_recording: true, max_resolution: Models::Components::CreateLiveStreamRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP, reconnect_window: 60, media_policy: Models::Components::BasicAccessPolicy::PUBLIC) ⇒ InputMediaSettings
constructor
A new instance of InputMediaSettings.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(metadata: nil, enable_dvr_mode: nil, enable_recording: true, max_resolution: Models::Components::CreateLiveStreamRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP, reconnect_window: 60, media_policy: Models::Components::BasicAccessPolicy::PUBLIC) ⇒ InputMediaSettings
Returns a new instance of InputMediaSettings.
35 36 37 38 39 40 41 42 |
# File 'lib/fastpix_client/models/components/inputmediasettings.rb', line 35 def initialize(metadata: nil, enable_dvr_mode: nil, enable_recording: true, max_resolution: Models::Components::CreateLiveStreamRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP, reconnect_window: 60, media_policy: Models::Components::BasicAccessPolicy::PUBLIC) = @enable_dvr_mode = enable_dvr_mode @enable_recording = enable_recording @max_resolution = max_resolution @reconnect_window = reconnect_window @media_policy = media_policy end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 |
# File 'lib/fastpix_client/models/components/inputmediasettings.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless == other. return false unless @enable_dvr_mode == other.enable_dvr_mode return false unless @enable_recording == other.enable_recording 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 |