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.



6123
6124
6125
# File 'lib/kaltura_types.rb', line 6123

def backup_url
  @backup_url
end

#protocolObject

Returns the value of attribute protocol.



6120
6121
6122
# File 'lib/kaltura_types.rb', line 6120

def protocol
  @protocol
end

#publish_urlObject

Returns the value of attribute publish_url.



6122
6123
6124
# File 'lib/kaltura_types.rb', line 6122

def publish_url
  @publish_url
end

#stream_nameObject

Returns the value of attribute stream_name.



6124
6125
6126
# File 'lib/kaltura_types.rb', line 6124

def stream_name
  @stream_name
end

#urlObject

Returns the value of attribute url.



6121
6122
6123
# File 'lib/kaltura_types.rb', line 6121

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
# File 'lib/kaltura_types.rb', line 6127

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