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.
6181 6182 6183 |
# File 'lib/kaltura_types.rb', line 6181 def backup_url @backup_url end |
#protocol ⇒ Object
Returns the value of attribute protocol.
6178 6179 6180 |
# File 'lib/kaltura_types.rb', line 6178 def protocol @protocol end |
#publish_url ⇒ Object
Returns the value of attribute publish_url.
6180 6181 6182 |
# File 'lib/kaltura_types.rb', line 6180 def publish_url @publish_url end |
#stream_name ⇒ Object
Returns the value of attribute stream_name.
6182 6183 6184 |
# File 'lib/kaltura_types.rb', line 6182 def stream_name @stream_name end |
#url ⇒ Object
Returns the value of attribute url.
6179 6180 6181 |
# File 'lib/kaltura_types.rb', line 6179 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 |
# File 'lib/kaltura_types.rb', line 6185 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 |