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.



12638
12639
12640
# File 'lib/kaltura_types.rb', line 12638

def flavor_asset_id
  @flavor_asset_id
end

#flavor_tagsObject

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



12640
12641
12642
# File 'lib/kaltura_types.rb', line 12640

def flavor_tags
  @flavor_tags
end

#media_protocolObject

Protocol of the specific media object.



12644
12645
12646
# File 'lib/kaltura_types.rb', line 12644

def media_protocol
  @media_protocol
end

#streamer_typeObject

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



12642
12643
12644
# File 'lib/kaltura_types.rb', line 12642

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
# File 'lib/kaltura_types.rb', line 12647

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