Class: Kaltura::KalturaLiveStreamConfiguration
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveStreamConfiguration
- Defined in:
- lib/kaltura_types.rb
Overview
A representation of a live stream configuration
Instance Attribute Summary collapse
-
#backup_url ⇒ Object
Returns the value of attribute backup_url.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#publish_url ⇒ Object
Returns the value of attribute publish_url.
-
#stream_name ⇒ Object
Returns the value of attribute stream_name.
-
#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
#backup_url ⇒ Object
Returns the value of attribute backup_url.
6400 6401 6402 |
# File 'lib/kaltura_types.rb', line 6400 def backup_url @backup_url end |
#protocol ⇒ Object
Returns the value of attribute protocol.
6397 6398 6399 |
# File 'lib/kaltura_types.rb', line 6397 def protocol @protocol end |
#publish_url ⇒ Object
Returns the value of attribute publish_url.
6399 6400 6401 |
# File 'lib/kaltura_types.rb', line 6399 def publish_url @publish_url end |
#stream_name ⇒ Object
Returns the value of attribute stream_name.
6401 6402 6403 |
# File 'lib/kaltura_types.rb', line 6401 def stream_name @stream_name end |
#url ⇒ Object
Returns the value of attribute url.
6398 6399 6400 |
# File 'lib/kaltura_types.rb', line 6398 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 |
# File 'lib/kaltura_types.rb', line 6404 def from_xml(xml_element) super if xml_element.elements['protocol'] != nil self.protocol = xml_element.elements['protocol'].text end if xml_element.elements['url'] != nil self.url = xml_element.elements['url'].text end if xml_element.elements['publishUrl'] != nil self.publish_url = xml_element.elements['publishUrl'].text end if xml_element.elements['backupUrl'] != nil self.backup_url = xml_element.elements['backupUrl'].text end if xml_element.elements['streamName'] != nil self.stream_name = xml_element.elements['streamName'].text end end |