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.



732
733
734
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 732

def primary_url
  @primary_url
end

#secondary_urlObject

Returns the value of attribute secondary_url.



733
734
735
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 733

def secondary_url
  @secondary_url
end

#stream_keyObject

Returns the value of attribute stream_key.



734
735
736
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 734

def stream_key
  @stream_key
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



737
738
739
740
741
742
743
744
745
746
747
748
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 737

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