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

#amf_arrayObject

Returns the value of attribute amf_array.



8080
8081
8082
# File 'lib/kaltura_types.rb', line 8080

def amf_array
  @amf_array
end

#asset_idObject

Returns the value of attribute asset_id.



8064
8065
8066
# File 'lib/kaltura_types.rb', line 8064

def asset_id
  @asset_id
end

#dest_file_pathObject

The output file



8076
8077
8078
# File 'lib/kaltura_types.rb', line 8076

def dest_file_path
  @dest_file_path
end

#durationObject

Duration of the live segment. filled by the ConvertLiveSegment job



8084
8085
8086
# File 'lib/kaltura_types.rb', line 8084

def duration
  @duration
end

#end_timeObject

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



8079
8080
8081
# File 'lib/kaltura_types.rb', line 8079

def end_time
  @end_time
end

#entry_idObject

Live stream entry id



8063
8064
8065
# File 'lib/kaltura_types.rb', line 8063

def entry_id
  @entry_id
end

#file_indexObject

The index of the file within the entry



8070
8071
8072
# File 'lib/kaltura_types.rb', line 8070

def file_index
  @file_index
end

#media_server_indexObject

Primary or secondary media server



8067
8068
8069
# File 'lib/kaltura_types.rb', line 8067

def media_server_index
  @media_server_index
end

#src_file_pathObject

The recorded live media



8073
8074
8075
# File 'lib/kaltura_types.rb', line 8073

def src_file_path
  @src_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
# File 'lib/kaltura_types.rb', line 8099

def from_xml(xml_element)
	super
	self.entry_id = xml_element.elements['entryId'].text
	self.asset_id = xml_element.elements['assetId'].text
	self.media_server_index = xml_element.elements['mediaServerIndex'].text
	self.file_index = xml_element.elements['fileIndex'].text
	self.src_file_path = xml_element.elements['srcFilePath'].text
	self.dest_file_path = xml_element.elements['destFilePath'].text
	self.end_time = xml_element.elements['endTime'].text
	self.amf_array = KalturaClientBase.object_from_xml(xml_element.elements['amfArray'], 'KalturaKeyValue')
	self.duration = xml_element.elements['duration'].text
end