Class: Kaltura::KalturaPlaybackSource
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPlaybackSource
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#delivery_profile_id ⇒ Object
Returns the value of attribute delivery_profile_id.
-
#drm ⇒ Object
drm data object containing relevant license url ,scheme name and certificate.
-
#flavor_ids ⇒ Object
comma separated string of flavor ids.
-
#format ⇒ Object
source format according to delivery profile streamer type (applehttp, mpegdash etc.).
-
#protocols ⇒ Object
comma separated string according to deliveryProfile media protocols (‘http,https’ etc.).
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#delivery_profile_id ⇒ Object
Returns the value of attribute delivery_profile_id.
8209 8210 8211 |
# File 'lib/kaltura_types.rb', line 8209 def delivery_profile_id @delivery_profile_id end |
#drm ⇒ Object
drm data object containing relevant license url ,scheme name and certificate
8218 8219 8220 |
# File 'lib/kaltura_types.rb', line 8218 def drm @drm end |
#flavor_ids ⇒ Object
comma separated string of flavor ids
8215 8216 8217 |
# File 'lib/kaltura_types.rb', line 8215 def flavor_ids @flavor_ids end |
#format ⇒ Object
source format according to delivery profile streamer type (applehttp, mpegdash etc.)
8211 8212 8213 |
# File 'lib/kaltura_types.rb', line 8211 def format @format end |
#protocols ⇒ Object
comma separated string according to deliveryProfile media protocols (‘http,https’ etc.)
8213 8214 8215 |
# File 'lib/kaltura_types.rb', line 8213 def protocols @protocols end |
#url ⇒ Object
Returns the value of attribute url.
8216 8217 8218 |
# File 'lib/kaltura_types.rb', line 8216 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 |
# File 'lib/kaltura_types.rb', line 8221 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 |