Class: Kaltura::KalturaLiveStreamEntry

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

Direct Known Subclasses

KalturaLiveStreamAdminEntry

Instance Attribute Summary collapse

Attributes inherited from KalturaLiveEntry

#current_broadcast_start_time, #dvr_status, #dvr_window, #explicit_live, #first_broadcast, #last_broadcast, #last_broadcast_end_time, #last_elapsed_recording_time, #live_status, #live_stream_configurations, #offline_message, #publish_configurations, #push_publish_enabled, #record_status, #recorded_entry_id, #recording_options, #recording_status, #segment_duration, #view_mode

Attributes inherited from KalturaMediaEntry

#conversion_quality, #credit_url, #credit_user_name, #data_url, #flavor_params_ids, #is_trim_disabled, #media_date, #media_type, #search_provider_id, #search_provider_type, #source_type, #streams

Attributes inherited from KalturaPlayableEntry

#duration, #duration_type, #height, #last_played_at, #ms_duration, #plays, #views, #width

Attributes inherited from KalturaBaseEntry

#access_control_id, #admin_tags, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #display_in_search, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #entitled_users_view, #group_id, #id, #license_type, #moderation_count, #moderation_status, #name, #operation_attributes, #parent_entry_id, #partner_data, #partner_id, #partner_sort_value, #rank, #redirect_entry_id, #reference_id, #replaced_entry_id, #replacement_status, #replacing_entry_id, #root_entry_id, #search_text, #start_date, #status, #tags, #template_entry_id, #thumbnail_url, #total_rank, #type, #updated_at, #user_id, #version, #votes

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#bitratesObject

Array of supported bitrates



6836
6837
6838
# File 'lib/kaltura_types.rb', line 6836

def bitrates
  @bitrates
end

#encoding_ip1Object

The broadcast primary ip



6851
6852
6853
# File 'lib/kaltura_types.rb', line 6851

def encoding_ip1
  @encoding_ip1
end

#encoding_ip2Object

The broadcast secondary ip



6853
6854
6855
# File 'lib/kaltura_types.rb', line 6853

def encoding_ip2
  @encoding_ip2
end

#hls_stream_urlObject

HLS URL - URL for live stream playback on mobile device



6847
6848
6849
# File 'lib/kaltura_types.rb', line 6847

def hls_stream_url
  @hls_stream_url
end

#primary_broadcasting_urlObject

Returns the value of attribute primary_broadcasting_url.



6837
6838
6839
# File 'lib/kaltura_types.rb', line 6837

def primary_broadcasting_url
  @primary_broadcasting_url
end

#primary_rtsp_broadcasting_urlObject

Returns the value of attribute primary_rtsp_broadcasting_url.



6841
6842
6843
# File 'lib/kaltura_types.rb', line 6841

def primary_rtsp_broadcasting_url
  @primary_rtsp_broadcasting_url
end

#primary_secured_broadcasting_urlObject

Returns the value of attribute primary_secured_broadcasting_url.



6839
6840
6841
# File 'lib/kaltura_types.rb', line 6839

def primary_secured_broadcasting_url
  @primary_secured_broadcasting_url
end

#primary_server_node_idObject

The Streams primary server node id



6859
6860
6861
# File 'lib/kaltura_types.rb', line 6859

def primary_server_node_id
  @primary_server_node_id
end

#secondary_broadcasting_urlObject

Returns the value of attribute secondary_broadcasting_url.



6838
6839
6840
# File 'lib/kaltura_types.rb', line 6838

def secondary_broadcasting_url
  @secondary_broadcasting_url
end

#secondary_rtsp_broadcasting_urlObject

Returns the value of attribute secondary_rtsp_broadcasting_url.



6842
6843
6844
# File 'lib/kaltura_types.rb', line 6842

def secondary_rtsp_broadcasting_url
  @secondary_rtsp_broadcasting_url
end

#secondary_secured_broadcasting_urlObject

Returns the value of attribute secondary_secured_broadcasting_url.



6840
6841
6842
# File 'lib/kaltura_types.rb', line 6840

def secondary_secured_broadcasting_url
  @secondary_secured_broadcasting_url
end

#sip_tokenObject

Returns the value of attribute sip_token.



6860
6861
6862
# File 'lib/kaltura_types.rb', line 6860

def sip_token
  @sip_token
end

#stream_nameObject

Returns the value of attribute stream_name.



6843
6844
6845
# File 'lib/kaltura_types.rb', line 6843

def stream_name
  @stream_name
end

#stream_passwordObject

The broadcast password



6855
6856
6857
# File 'lib/kaltura_types.rb', line 6855

def stream_password
  @stream_password
end

#stream_remote_backup_idObject

The backup stream id as provided by the provider



6834
6835
6836
# File 'lib/kaltura_types.rb', line 6834

def stream_remote_backup_id
  @stream_remote_backup_id
end

#stream_remote_idObject

The stream id as provided by the provider



6832
6833
6834
# File 'lib/kaltura_types.rb', line 6832

def stream_remote_id
  @stream_remote_id
end

#stream_urlObject

The stream url



6845
6846
6847
# File 'lib/kaltura_types.rb', line 6845

def stream_url
  @stream_url
end

#stream_usernameObject

The broadcast username



6857
6858
6859
# File 'lib/kaltura_types.rb', line 6857

def stream_username
  @stream_username
end

#url_managerObject

URL Manager to handle the live stream URL (for instance, add token)



6849
6850
6851
# File 'lib/kaltura_types.rb', line 6849

def url_manager
  @url_manager
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
# File 'lib/kaltura_types.rb', line 6866

def from_xml(xml_element)
	super
	if xml_element.elements['streamRemoteId'] != nil
		self.stream_remote_id = xml_element.elements['streamRemoteId'].text
	end
	if xml_element.elements['streamRemoteBackupId'] != nil
		self.stream_remote_backup_id = xml_element.elements['streamRemoteBackupId'].text
	end
	if xml_element.elements['bitrates'] != nil
		self.bitrates = KalturaClientBase.object_from_xml(xml_element.elements['bitrates'], 'KalturaLiveStreamBitrate')
	end
	if xml_element.elements['primaryBroadcastingUrl'] != nil
		self.primary_broadcasting_url = xml_element.elements['primaryBroadcastingUrl'].text
	end
	if xml_element.elements['secondaryBroadcastingUrl'] != nil
		self.secondary_broadcasting_url = xml_element.elements['secondaryBroadcastingUrl'].text
	end
	if xml_element.elements['primarySecuredBroadcastingUrl'] != nil
		self.primary_secured_broadcasting_url = xml_element.elements['primarySecuredBroadcastingUrl'].text
	end
	if xml_element.elements['secondarySecuredBroadcastingUrl'] != nil
		self.secondary_secured_broadcasting_url = xml_element.elements['secondarySecuredBroadcastingUrl'].text
	end
	if xml_element.elements['primaryRtspBroadcastingUrl'] != nil
		self.primary_rtsp_broadcasting_url = xml_element.elements['primaryRtspBroadcastingUrl'].text
	end
	if xml_element.elements['secondaryRtspBroadcastingUrl'] != nil
		self.secondary_rtsp_broadcasting_url = xml_element.elements['secondaryRtspBroadcastingUrl'].text
	end
	if xml_element.elements['streamName'] != nil
		self.stream_name = xml_element.elements['streamName'].text
	end
	if xml_element.elements['streamUrl'] != nil
		self.stream_url = xml_element.elements['streamUrl'].text
	end
	if xml_element.elements['hlsStreamUrl'] != nil
		self.hls_stream_url = xml_element.elements['hlsStreamUrl'].text
	end
	if xml_element.elements['urlManager'] != nil
		self.url_manager = xml_element.elements['urlManager'].text
	end
	if xml_element.elements['encodingIP1'] != nil
		self.encoding_ip1 = xml_element.elements['encodingIP1'].text
	end
	if xml_element.elements['encodingIP2'] != nil
		self.encoding_ip2 = xml_element.elements['encodingIP2'].text
	end
	if xml_element.elements['streamPassword'] != nil
		self.stream_password = xml_element.elements['streamPassword'].text
	end
	if xml_element.elements['streamUsername'] != nil
		self.stream_username = xml_element.elements['streamUsername'].text
	end
	if xml_element.elements['primaryServerNodeId'] != nil
		self.primary_server_node_id = xml_element.elements['primaryServerNodeId'].text
	end
	if xml_element.elements['sipToken'] != nil
		self.sip_token = xml_element.elements['sipToken'].text
	end
end