Class: Kaltura::KalturaLiveStreamDetails

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

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

#broadcast_statusObject

Returns the value of attribute broadcast_status.



7102
7103
7104
# File 'lib/kaltura_types.rb', line 7102

def broadcast_status
  @broadcast_status
end

#primary_stream_statusObject

The status of the primary stream



7097
7098
7099
# File 'lib/kaltura_types.rb', line 7097

def primary_stream_status
  @primary_stream_status
end

#secondary_stream_statusObject

The status of the secondary stream



7099
7100
7101
# File 'lib/kaltura_types.rb', line 7099

def secondary_stream_status
  @secondary_stream_status
end

#view_modeObject

Returns the value of attribute view_mode.



7100
7101
7102
# File 'lib/kaltura_types.rb', line 7100

def view_mode
  @view_mode
end

#was_broadcastObject

Returns the value of attribute was_broadcast.



7101
7102
7103
# File 'lib/kaltura_types.rb', line 7101

def was_broadcast
  @was_broadcast
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
# File 'lib/kaltura_types.rb', line 7120

def from_xml(xml_element)
	super
	if xml_element.elements['primaryStreamStatus'] != nil
		self.primary_stream_status = xml_element.elements['primaryStreamStatus'].text
	end
	if xml_element.elements['secondaryStreamStatus'] != nil
		self.secondary_stream_status = xml_element.elements['secondaryStreamStatus'].text
	end
	if xml_element.elements['viewMode'] != nil
		self.view_mode = xml_element.elements['viewMode'].text
	end
	if xml_element.elements['wasBroadcast'] != nil
		self.was_broadcast = xml_element.elements['wasBroadcast'].text
	end
	if xml_element.elements['broadcastStatus'] != nil
		self.broadcast_status = xml_element.elements['broadcastStatus'].text
	end
end