Class: Kaltura::KalturaEntryContextDataParams

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

Overview

Object which contains contextual entry-related data.

Direct Known Subclasses

KalturaPlaybackContextOptions

Instance Attribute Summary collapse

Attributes inherited from KalturaAccessControlScope

#contexts, #hashes, #ip, #ks, #referrer, #time, #user_agent

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#flavor_asset_idObject

Id of the current flavor.



13419
13420
13421
# File 'lib/kaltura_types.rb', line 13419

def flavor_asset_id
  @flavor_asset_id
end

#flavor_tagsObject

The tags of the flavors that should be used for playback.



13421
13422
13423
# File 'lib/kaltura_types.rb', line 13421

def flavor_tags
  @flavor_tags
end

#media_protocolObject

Protocol of the specific media object.



13425
13426
13427
# File 'lib/kaltura_types.rb', line 13425

def media_protocol
  @media_protocol
end

#streamer_typeObject

Playback streamer type: RTMP, HTTP, appleHttps, rtsp, sl.



13423
13424
13425
# File 'lib/kaltura_types.rb', line 13423

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
# File 'lib/kaltura_types.rb', line 13428

def from_xml(xml_element)
	super
	if xml_element.elements['flavorAssetId'] != nil
		self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
	end
	if xml_element.elements['flavorTags'] != nil
		self.flavor_tags = xml_element.elements['flavorTags'].text
	end
	if xml_element.elements['streamerType'] != nil
		self.streamer_type = xml_element.elements['streamerType'].text
	end
	if xml_element.elements['mediaProtocol'] != nil
		self.media_protocol = xml_element.elements['mediaProtocol'].text
	end
end