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

#broadcast_time, #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, #source_version, #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, #application, #application_version, #block_auto_transcript, #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, #multi_lingual_description, #multi_lingual_name, #multi_lingual_tags, #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



7147
7148
7149
# File 'lib/kaltura_types.rb', line 7147

def bitrates
  @bitrates
end

#encoding_ip1Object

The broadcast primary ip



7166
7167
7168
# File 'lib/kaltura_types.rb', line 7166

def encoding_ip1
  @encoding_ip1
end

#encoding_ip2Object

The broadcast secondary ip



7168
7169
7170
# File 'lib/kaltura_types.rb', line 7168

def encoding_ip2
  @encoding_ip2
end

#hls_stream_urlObject

HLS URL - URL for live stream playback on mobile device



7162
7163
7164
# File 'lib/kaltura_types.rb', line 7162

def hls_stream_url
  @hls_stream_url
end

#primary_broadcasting_urlObject

Returns the value of attribute primary_broadcasting_url.



7148
7149
7150
# File 'lib/kaltura_types.rb', line 7148

def primary_broadcasting_url
  @primary_broadcasting_url
end

#primary_rtsp_broadcasting_urlObject

Returns the value of attribute primary_rtsp_broadcasting_url.



7152
7153
7154
# File 'lib/kaltura_types.rb', line 7152

def primary_rtsp_broadcasting_url
  @primary_rtsp_broadcasting_url
end

#primary_secured_broadcasting_urlObject

Returns the value of attribute primary_secured_broadcasting_url.



7150
7151
7152
# File 'lib/kaltura_types.rb', line 7150

def primary_secured_broadcasting_url
  @primary_secured_broadcasting_url
end

#primary_server_node_idObject

The Streams primary server node id



7175
7176
7177
# File 'lib/kaltura_types.rb', line 7175

def primary_server_node_id
  @primary_server_node_id
end

#primary_srt_broadcasting_urlObject

Returns the value of attribute primary_srt_broadcasting_url.



7154
7155
7156
# File 'lib/kaltura_types.rb', line 7154

def primary_srt_broadcasting_url
  @primary_srt_broadcasting_url
end

#primary_srt_stream_idObject

Returns the value of attribute primary_srt_stream_id.



7155
7156
7157
# File 'lib/kaltura_types.rb', line 7155

def primary_srt_stream_id
  @primary_srt_stream_id
end

#secondary_broadcasting_urlObject

Returns the value of attribute secondary_broadcasting_url.



7149
7150
7151
# File 'lib/kaltura_types.rb', line 7149

def secondary_broadcasting_url
  @secondary_broadcasting_url
end

#secondary_rtsp_broadcasting_urlObject

Returns the value of attribute secondary_rtsp_broadcasting_url.



7153
7154
7155
# File 'lib/kaltura_types.rb', line 7153

def secondary_rtsp_broadcasting_url
  @secondary_rtsp_broadcasting_url
end

#secondary_secured_broadcasting_urlObject

Returns the value of attribute secondary_secured_broadcasting_url.



7151
7152
7153
# File 'lib/kaltura_types.rb', line 7151

def secondary_secured_broadcasting_url
  @secondary_secured_broadcasting_url
end

#secondary_srt_broadcasting_urlObject

Returns the value of attribute secondary_srt_broadcasting_url.



7156
7157
7158
# File 'lib/kaltura_types.rb', line 7156

def secondary_srt_broadcasting_url
  @secondary_srt_broadcasting_url
end

#secondary_srt_stream_idObject

Returns the value of attribute secondary_srt_stream_id.



7157
7158
7159
# File 'lib/kaltura_types.rb', line 7157

def secondary_srt_stream_id
  @secondary_srt_stream_id
end

#sip_source_typeObject

Returns the value of attribute sip_source_type.



7177
7178
7179
# File 'lib/kaltura_types.rb', line 7177

def sip_source_type
  @sip_source_type
end

#sip_tokenObject

Returns the value of attribute sip_token.



7176
7177
7178
# File 'lib/kaltura_types.rb', line 7176

def sip_token
  @sip_token
end

#srt_passObject

Returns the value of attribute srt_pass.



7173
7174
7175
# File 'lib/kaltura_types.rb', line 7173

def srt_pass
  @srt_pass
end

#stream_nameObject

Returns the value of attribute stream_name.



7158
7159
7160
# File 'lib/kaltura_types.rb', line 7158

def stream_name
  @stream_name
end

#stream_passwordObject

The broadcast password



7170
7171
7172
# File 'lib/kaltura_types.rb', line 7170

def stream_password
  @stream_password
end

#stream_remote_backup_idObject

The backup stream id as provided by the provider



7145
7146
7147
# File 'lib/kaltura_types.rb', line 7145

def stream_remote_backup_id
  @stream_remote_backup_id
end

#stream_remote_idObject

The stream id as provided by the provider



7143
7144
7145
# File 'lib/kaltura_types.rb', line 7143

def stream_remote_id
  @stream_remote_id
end

#stream_urlObject

The stream url



7160
7161
7162
# File 'lib/kaltura_types.rb', line 7160

def stream_url
  @stream_url
end

#stream_usernameObject

The broadcast username



7172
7173
7174
# File 'lib/kaltura_types.rb', line 7172

def stream_username
  @stream_username
end

#url_managerObject

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



7164
7165
7166
# File 'lib/kaltura_types.rb', line 7164

def url_manager
  @url_manager
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
# File 'lib/kaltura_types.rb', line 7186

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['primarySrtBroadcastingUrl'] != nil
		self.primary_srt_broadcasting_url = xml_element.elements['primarySrtBroadcastingUrl'].text
	end
	if xml_element.elements['primarySrtStreamId'] != nil
		self.primary_srt_stream_id = xml_element.elements['primarySrtStreamId'].text
	end
	if xml_element.elements['secondarySrtBroadcastingUrl'] != nil
		self.secondary_srt_broadcasting_url = xml_element.elements['secondarySrtBroadcastingUrl'].text
	end
	if xml_element.elements['secondarySrtStreamId'] != nil
		self.secondary_srt_stream_id = xml_element.elements['secondarySrtStreamId'].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['srtPass'] != nil
		self.srt_pass = xml_element.elements['srtPass'].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
	if xml_element.elements['sipSourceType'] != nil
		self.sip_source_type = xml_element.elements['sipSourceType'].text
	end
end