Class: Kaltura::KalturaConvertLiveSegmentJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#asset_idObject

Returns the value of attribute asset_id.



11816
11817
11818
# File 'lib/kaltura_types.rb', line 11816

def asset_id
  @asset_id
end

#dest_data_file_pathObject

The data output file



11828
11829
11830
# File 'lib/kaltura_types.rb', line 11828

def dest_data_file_path
  @dest_data_file_path
end

#dest_file_pathObject

The output file



11824
11825
11826
# File 'lib/kaltura_types.rb', line 11824

def dest_file_path
  @dest_file_path
end

#end_timeObject

Duration of the live entry including all recorded segments including the current



11826
11827
11828
# File 'lib/kaltura_types.rb', line 11826

def end_time
  @end_time
end

#entry_idObject

Live stream entry id



11815
11816
11817
# File 'lib/kaltura_types.rb', line 11815

def entry_id
  @entry_id
end

#file_indexObject

The index of the file within the entry



11820
11821
11822
# File 'lib/kaltura_types.rb', line 11820

def file_index
  @file_index
end

#media_server_indexObject

Primary or secondary media server



11818
11819
11820
# File 'lib/kaltura_types.rb', line 11818

def media_server_index
  @media_server_index
end

#src_file_pathObject

The recorded live media



11822
11823
11824
# File 'lib/kaltura_types.rb', line 11822

def src_file_path
  @src_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
# File 'lib/kaltura_types.rb', line 11837

def from_xml(xml_element)
	super
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['assetId'] != nil
		self.asset_id = xml_element.elements['assetId'].text
	end
	if xml_element.elements['mediaServerIndex'] != nil
		self.media_server_index = xml_element.elements['mediaServerIndex'].text
	end
	if xml_element.elements['fileIndex'] != nil
		self.file_index = xml_element.elements['fileIndex'].text
	end
	if xml_element.elements['srcFilePath'] != nil
		self.src_file_path = xml_element.elements['srcFilePath'].text
	end
	if xml_element.elements['destFilePath'] != nil
		self.dest_file_path = xml_element.elements['destFilePath'].text
	end
	if xml_element.elements['endTime'] != nil
		self.end_time = xml_element.elements['endTime'].text
	end
	if xml_element.elements['destDataFilePath'] != nil
		self.dest_data_file_path = xml_element.elements['destDataFilePath'].text
	end
end