Class: Kaltura::KalturaAsperaService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_plugins/kaltura_aspera_client_plugin.rb

Overview

Aspera service

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaAsperaService

Returns a new instance of KalturaAsperaService.



35
36
37
# File 'lib/kaltura_plugins/kaltura_aspera_client_plugin.rb', line 35

def initialize(client)
	super(client)
end

Instance Method Details

#get_fasp_url(flavor_asset_id) ⇒ string

Returns:

  • (string)


40
41
42
43
44
45
46
47
48
# File 'lib/kaltura_plugins/kaltura_aspera_client_plugin.rb', line 40

def get_fasp_url(flavor_asset_id)
	kparams = {}
	client.add_param(kparams, 'flavorAssetId', flavor_asset_id)
	client.queue_service_action_call('aspera_aspera', 'getFaspUrl', 'string', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end