Sha256: 728640cad6e7a4db5d75ee3a6936d152466c6e017428b56d4f8649eb2df4230b

Contents?: true

Size: 1.94 KB

Versions: 8

Compression:

Stored size: 1.94 KB

Contents

# ===================================================================================================
#                           _  __     _ _
#                          | |/ /__ _| | |_ _  _ _ _ __ _
#                          | ' </ _` | |  _| || | '_/ _` |
#                          |_|\_\__,_|_|\__|\_,_|_| \__,_|
#
# This file is part of the Kaltura Collaborative Media Suite which allows users
# to do with audio, video, and animation what Wiki platfroms allow them to do with
# text.
#
# Copyright (C) 2006-2011  Kaltura Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http:#www.gnu.org/licenses/>.
#
# @ignore
# ===================================================================================================
require 'kaltura_client.rb'

module Kaltura


	# Aspera service
	#  
	class KalturaAsperaService < KalturaServiceBase
		def initialize(client)
			super(client)
		end

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

	class KalturaClient < KalturaClientBase
		attr_reader :aspera_service
		def aspera_service
			if (@aspera_service == nil)
				@aspera_service = KalturaAsperaService.new(self)
			end
			return @aspera_service
		end
	end

end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
kaltura_box-0.0.3 vendor/kaltura-ruby-client/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-3.2.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-3.1.7 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-3.1.6 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-1.2 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-ruby-client-1.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura_box-0.0.2 vendor/kaltura-ruby-client/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura_box-0.0.1 vendor/kaltura-ruby-client/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb