Class: Kaltura::KalturaEntryContextDataParams

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

Overview

Object which contains contextual entry-related data.

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.



8701
8702
8703
# File 'lib/kaltura_types.rb', line 8701

def flavor_asset_id
  @flavor_asset_id
end

#flavor_tagsObject

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



8704
8705
8706
# File 'lib/kaltura_types.rb', line 8704

def flavor_tags
  @flavor_tags
end

#media_protocolObject

Protocol of the specific media object.



8710
8711
8712
# File 'lib/kaltura_types.rb', line 8710

def media_protocol
  @media_protocol
end

#streamer_typeObject

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



8707
8708
8709
# File 'lib/kaltura_types.rb', line 8707

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8713
8714
8715
8716
8717
8718
8719
# File 'lib/kaltura_types.rb', line 8713

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