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.



6204
6205
6206
# File 'lib/kaltura_types.rb', line 6204

def backup_url
  @backup_url
end

#protocolObject

Returns the value of attribute protocol.



6201
6202
6203
# File 'lib/kaltura_types.rb', line 6201

def protocol
  @protocol
end

#publish_urlObject

Returns the value of attribute publish_url.



6203
6204
6205
# File 'lib/kaltura_types.rb', line 6203

def publish_url
  @publish_url
end

#stream_nameObject

Returns the value of attribute stream_name.



6205
6206
6207
# File 'lib/kaltura_types.rb', line 6205

def stream_name
  @stream_name
end

#urlObject

Returns the value of attribute url.



6202
6203
6204
# File 'lib/kaltura_types.rb', line 6202

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
# File 'lib/kaltura_types.rb', line 6208

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