Class: Kaltura::KalturaPlaybackSource

Inherits:
KalturaObjectBase 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

#delivery_profile_idObject

Returns the value of attribute delivery_profile_id.



8341
8342
8343
# File 'lib/kaltura_types.rb', line 8341

def delivery_profile_id
  @delivery_profile_id
end

#drmObject

drm data object containing relevant license url ,scheme name and certificate



8350
8351
8352
# File 'lib/kaltura_types.rb', line 8350

def drm
  @drm
end

#flavor_idsObject

comma separated string of flavor ids



8347
8348
8349
# File 'lib/kaltura_types.rb', line 8347

def flavor_ids
  @flavor_ids
end

#formatObject

source format according to delivery profile streamer type (applehttp, mpegdash etc.)



8343
8344
8345
# File 'lib/kaltura_types.rb', line 8343

def format
  @format
end

#protocolsObject

comma separated string according to deliveryProfile media protocols (‘http,https’ etc.)



8345
8346
8347
# File 'lib/kaltura_types.rb', line 8345

def protocols
  @protocols
end

#urlObject

Returns the value of attribute url.



8348
8349
8350
# File 'lib/kaltura_types.rb', line 8348

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
# File 'lib/kaltura_types.rb', line 8353

def from_xml(xml_element)
	super
	if xml_element.elements['deliveryProfileId'] != nil
		self.delivery_profile_id = xml_element.elements['deliveryProfileId'].text
	end
	if xml_element.elements['format'] != nil
		self.format = xml_element.elements['format'].text
	end
	if xml_element.elements['protocols'] != nil
		self.protocols = xml_element.elements['protocols'].text
	end
	if xml_element.elements['flavorIds'] != nil
		self.flavor_ids = xml_element.elements['flavorIds'].text
	end
	if xml_element.elements['url'] != nil
		self.url = xml_element.elements['url'].text
	end
	if xml_element.elements['drm'] != nil
		self.drm = KalturaClientBase.object_from_xml(xml_element.elements['drm'], 'KalturaDrmPlaybackPluginData')
	end
end