Class: Kaltura::KalturaMixingService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaMixingService

Returns a new instance of KalturaMixingService.



4354
4355
4356
# File 'lib/kaltura_client.rb', line 4354

def initialize(client)
	super(client)
end

Instance Method Details

#add(mix_entry) ⇒ Object



4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'lib/kaltura_client.rb', line 4358

def add(mix_entry)
	kparams = {}
	client.add_param(kparams, 'mixEntry', mix_entry);
	client.queue_service_action_call('mixing', 'add', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#anonymous_rank(entry_id, rank) ⇒ Object



4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
# File 'lib/kaltura_client.rb', line 4475

def anonymous_rank(entry_id, rank)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.add_param(kparams, 'rank', rank);
	client.queue_service_action_call('mixing', 'anonymousRank', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#append_media_entry(mix_entry_id, media_entry_id) ⇒ Object



4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'lib/kaltura_client.rb', line 4431

def append_media_entry(mix_entry_id, media_entry_id)
	kparams = {}
	client.add_param(kparams, 'mixEntryId', mix_entry_id);
	client.add_param(kparams, 'mediaEntryId', media_entry_id);
	client.queue_service_action_call('mixing', 'appendMediaEntry', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#clone(entry_id) ⇒ Object



4421
4422
4423
4424
4425
4426
4427
4428
4429
# File 'lib/kaltura_client.rb', line 4421

def clone(entry_id)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.queue_service_action_call('mixing', 'clone', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#count(filter = nil) ⇒ Object



4411
4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/kaltura_client.rb', line 4411

def count(filter=nil)
	kparams = {}
	client.add_param(kparams, 'filter', filter);
	client.queue_service_action_call('mixing', 'count', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#delete(entry_id) ⇒ Object



4390
4391
4392
4393
4394
4395
4396
4397
4398
# File 'lib/kaltura_client.rb', line 4390

def delete(entry_id)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.queue_service_action_call('mixing', 'delete', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get(entry_id, version = -1)) ⇒ Object



4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
# File 'lib/kaltura_client.rb', line 4368

def get(entry_id, version=-1)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.add_param(kparams, 'version', version);
	client.queue_service_action_call('mixing', 'get', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get_mixes_by_media_id(media_entry_id) ⇒ Object



4454
4455
4456
4457
4458
4459
4460
4461
4462
# File 'lib/kaltura_client.rb', line 4454

def get_mixes_by_media_id(media_entry_id)
	kparams = {}
	client.add_param(kparams, 'mediaEntryId', media_entry_id);
	client.queue_service_action_call('mixing', 'getMixesByMediaId', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get_ready_media_entries(mix_id, version = -1)) ⇒ Object



4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
# File 'lib/kaltura_client.rb', line 4464

def get_ready_media_entries(mix_id, version=-1)
	kparams = {}
	client.add_param(kparams, 'mixId', mix_id);
	client.add_param(kparams, 'version', version);
	client.queue_service_action_call('mixing', 'getReadyMediaEntries', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#list(filter = nil, pager = nil) ⇒ Object



4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
# File 'lib/kaltura_client.rb', line 4400

def list(filter=nil, pager=nil)
	kparams = {}
	client.add_param(kparams, 'filter', filter);
	client.add_param(kparams, 'pager', pager);
	client.queue_service_action_call('mixing', 'list', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#request_flattening(entry_id, file_format, version = -1)) ⇒ Object



4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
# File 'lib/kaltura_client.rb', line 4442

def request_flattening(entry_id, file_format, version=-1)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.add_param(kparams, 'fileFormat', file_format);
	client.add_param(kparams, 'version', version);
	client.queue_service_action_call('mixing', 'requestFlattening', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#update(entry_id, mix_entry) ⇒ Object



4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
# File 'lib/kaltura_client.rb', line 4379

def update(entry_id, mix_entry)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.add_param(kparams, 'mixEntry', mix_entry);
	client.queue_service_action_call('mixing', 'update', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end