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.



12372
12373
12374
# File 'lib/kaltura_types.rb', line 12372

def asset_id
  @asset_id
end

#dest_data_file_pathObject

The data output file



12384
12385
12386
# File 'lib/kaltura_types.rb', line 12384

def dest_data_file_path
  @dest_data_file_path
end

#dest_file_pathObject

The output file



12380
12381
12382
# File 'lib/kaltura_types.rb', line 12380

def dest_file_path
  @dest_file_path
end

#end_timeObject

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



12382
12383
12384
# File 'lib/kaltura_types.rb', line 12382

def end_time
  @end_time
end

#entry_idObject

Live stream entry id



12371
12372
12373
# File 'lib/kaltura_types.rb', line 12371

def entry_id
  @entry_id
end

#file_indexObject

The index of the file within the entry



12376
12377
12378
# File 'lib/kaltura_types.rb', line 12376

def file_index
  @file_index
end

#media_server_indexObject

Primary or secondary media server



12374
12375
12376
# File 'lib/kaltura_types.rb', line 12374

def media_server_index
  @media_server_index
end

#src_file_pathObject

The recorded live media



12378
12379
12380
# File 'lib/kaltura_types.rb', line 12378

def src_file_path
  @src_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
# File 'lib/kaltura_types.rb', line 12393

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