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.



3174
3175
3176
# File 'lib/kaltura_types.rb', line 3174

def backup_url
  @backup_url
end

#protocolObject

Returns the value of attribute protocol.



3171
3172
3173
# File 'lib/kaltura_types.rb', line 3171

def protocol
  @protocol
end

#publish_urlObject

Returns the value of attribute publish_url.



3173
3174
3175
# File 'lib/kaltura_types.rb', line 3173

def publish_url
  @publish_url
end

#stream_nameObject

Returns the value of attribute stream_name.



3175
3176
3177
# File 'lib/kaltura_types.rb', line 3175

def stream_name
  @stream_name
end

#urlObject

Returns the value of attribute url.



3172
3173
3174
# File 'lib/kaltura_types.rb', line 3172

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3178
3179
3180
3181
3182
3183
3184
3185
# File 'lib/kaltura_types.rb', line 3178

def from_xml(xml_element)
  super
  self.protocol = xml_element.elements['protocol'].text
  self.url = xml_element.elements['url'].text
  self.publish_url = xml_element.elements['publishUrl'].text
  self.backup_url = xml_element.elements['backupUrl'].text
  self.stream_name = xml_element.elements['streamName'].text
end