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.



12513
12514
12515
# File 'lib/kaltura_types.rb', line 12513

def asset_id
  @asset_id
end

#dest_data_file_pathObject

The data output file



12525
12526
12527
# File 'lib/kaltura_types.rb', line 12525

def dest_data_file_path
  @dest_data_file_path
end

#dest_file_pathObject

The output file



12521
12522
12523
# File 'lib/kaltura_types.rb', line 12521

def dest_file_path
  @dest_file_path
end

#end_timeObject

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



12523
12524
12525
# File 'lib/kaltura_types.rb', line 12523

def end_time
  @end_time
end

#entry_idObject

Live stream entry id



12512
12513
12514
# File 'lib/kaltura_types.rb', line 12512

def entry_id
  @entry_id
end

#file_indexObject

The index of the file within the entry



12517
12518
12519
# File 'lib/kaltura_types.rb', line 12517

def file_index
  @file_index
end

#media_server_indexObject

Primary or secondary media server



12515
12516
12517
# File 'lib/kaltura_types.rb', line 12515

def media_server_index
  @media_server_index
end

#src_file_pathObject

The recorded live media



12519
12520
12521
# File 'lib/kaltura_types.rb', line 12519

def src_file_path
  @src_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
# File 'lib/kaltura_types.rb', line 12534

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