Class: Kaltura::KalturaLiveRestreamFeature

Inherits:
KalturaLiveFeature show all
Defined in:
lib/kaltura_plugins/kaltura_schedule_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaLiveFeature

#post_end_time, #pre_start_time, #system_name

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#primary_urlObject

Returns the value of attribute primary_url.



739
740
741
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 739

def primary_url
  @primary_url
end

#secondary_urlObject

Returns the value of attribute secondary_url.



740
741
742
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 740

def secondary_url
  @secondary_url
end

#stream_keyObject

Returns the value of attribute stream_key.



741
742
743
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 741

def stream_key
  @stream_key
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



744
745
746
747
748
749
750
751
752
753
754
755
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 744

def from_xml(xml_element)
  super
  if xml_element.elements['primaryUrl'] != nil
    self.primary_url = xml_element.elements['primaryUrl'].text
  end
  if xml_element.elements['secondaryUrl'] != nil
    self.secondary_url = xml_element.elements['secondaryUrl'].text
  end
  if xml_element.elements['streamKey'] != nil
    self.stream_key = xml_element.elements['streamKey'].text
  end
end