Class: Kaltura::KalturaLiveStreamPushPublishRTMPConfiguration

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

Overview

A representation of an RTMP live stream configuration

Instance Attribute Summary collapse

Attributes inherited from KalturaLiveStreamPushPublishConfiguration

#backup_publish_url, #port, #publish_url

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#application_nameObject

Returns the value of attribute application_name.



13448
13449
13450
# File 'lib/kaltura_types.rb', line 13448

def application_name
  @application_name
end

#passwordObject

Returns the value of attribute password.



13446
13447
13448
# File 'lib/kaltura_types.rb', line 13446

def password
  @password
end

#stream_nameObject

Returns the value of attribute stream_name.



13447
13448
13449
# File 'lib/kaltura_types.rb', line 13447

def stream_name
  @stream_name
end

#user_idObject

Returns the value of attribute user_id.



13445
13446
13447
# File 'lib/kaltura_types.rb', line 13445

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
# File 'lib/kaltura_types.rb', line 13451

def from_xml(xml_element)
	super
	if xml_element.elements['userId'] != nil
		self.user_id = xml_element.elements['userId'].text
	end
	if xml_element.elements['password'] != nil
		self.password = xml_element.elements['password'].text
	end
	if xml_element.elements['streamName'] != nil
		self.stream_name = xml_element.elements['streamName'].text
	end
	if xml_element.elements['applicationName'] != nil
		self.application_name = xml_element.elements['applicationName'].text
	end
end