Sha256: 6d05de29d6f3770eeeba1ee1c6e7d54b9e4e6eaf626ad1c88322fa0938cd6df0

Contents?: true

Size: 1.96 KB

Versions: 13

Compression:

Stored size: 1.96 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-2019  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

		# @return [string]
		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
	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

13 entries across 13 versions & 1 rubygems

Version Path
kaltura-client-15.14.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.10.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.7.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.6.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.5.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.4.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.3.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.2.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-15.0.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-14.20.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-14.18.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-14.16.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb
kaltura-client-14.15.0 lib/kaltura_plugins/kaltura_aspera_client_plugin.rb