Class: Kaltura::KalturaLiveStreamConfiguration

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

Overview

A representation of a live stream configuration

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#backup_urlObject

Returns the value of attribute backup_url.



6283
6284
6285
# File 'lib/kaltura_types.rb', line 6283

def backup_url
  @backup_url
end

#protocolObject

Returns the value of attribute protocol.



6280
6281
6282
# File 'lib/kaltura_types.rb', line 6280

def protocol
  @protocol
end

#publish_urlObject

Returns the value of attribute publish_url.



6282
6283
6284
# File 'lib/kaltura_types.rb', line 6282

def publish_url
  @publish_url
end

#stream_nameObject

Returns the value of attribute stream_name.



6284
6285
6286
# File 'lib/kaltura_types.rb', line 6284

def stream_name
  @stream_name
end

#urlObject

Returns the value of attribute url.



6281
6282
6283
# File 'lib/kaltura_types.rb', line 6281

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
# File 'lib/kaltura_types.rb', line 6287

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