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.
7988 7989 7990 |
# File 'lib/kaltura_types.rb', line 7988 def delivery_profile_id @delivery_profile_id end |
#drm ⇒ Object
drm data object containing relevant license url ,scheme name and certificate
7997 7998 7999 |
# File 'lib/kaltura_types.rb', line 7997 def drm @drm end |
#flavor_ids ⇒ Object
comma separated string of flavor ids
7994 7995 7996 |
# File 'lib/kaltura_types.rb', line 7994 def flavor_ids @flavor_ids end |
#format ⇒ Object
source format according to delivery profile streamer type (applehttp, mpegdash etc.)
7990 7991 7992 |
# File 'lib/kaltura_types.rb', line 7990 def format @format end |
#protocols ⇒ Object
comma separated string according to deliveryProfile media protocols (‘http,https’ etc.)
7992 7993 7994 |
# File 'lib/kaltura_types.rb', line 7992 def protocols @protocols end |
#url ⇒ Object
Returns the value of attribute url.
7995 7996 7997 |
# File 'lib/kaltura_types.rb', line 7995 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 |
# File 'lib/kaltura_types.rb', line 8000 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 |