Class: Kaltura::Service::MixingService
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
Methods inherited from BaseService
#initialize, #perform_request
Instance Method Details
#add(mix_entry) ⇒ Object
5
6
7
8
9
|
# File 'lib/kaltura/service/mixing_service.rb', line 5
def add(mix_entry)
kparams = {}
client.add_param(kparams, 'mixEntry', mix_entry)
perform_request('mixing','add',kparams,false)
end
|
#anonymous_rank(entry_id, rank) ⇒ Object
78
79
80
81
82
83
|
# File 'lib/kaltura/service/mixing_service.rb', line 78
def anonymous_rank(entry_id, rank)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
client.add_param(kparams, 'rank', rank)
perform_request('mixing','anonymousRank',kparams,false)
end
|
#append_media_entry(mix_entry_id, media_entry_id) ⇒ Object
50
51
52
53
54
55
|
# File 'lib/kaltura/service/mixing_service.rb', line 50
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)
perform_request('mixing','appendMediaEntry',kparams,false)
end
|
#clone(entry_id) ⇒ Object
44
45
46
47
48
|
# File 'lib/kaltura/service/mixing_service.rb', line 44
def clone(entry_id)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
perform_request('mixing','clone',kparams,false)
end
|
#count(filter = nil) ⇒ Object
38
39
40
41
42
|
# File 'lib/kaltura/service/mixing_service.rb', line 38
def count(filter=nil)
kparams = {}
client.add_param(kparams, 'filter', filter)
perform_request('mixing','count',kparams,false)
end
|
#delete(entry_id) ⇒ Object
25
26
27
28
29
|
# File 'lib/kaltura/service/mixing_service.rb', line 25
def delete(entry_id)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
perform_request('mixing','delete',kparams,false)
end
|
#get(entry_id, version = -1)) ⇒ Object
11
12
13
14
15
16
|
# File 'lib/kaltura/service/mixing_service.rb', line 11
def get(entry_id, version=-1)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
client.add_param(kparams, 'version', version)
perform_request('mixing','get',kparams,false)
end
|
65
66
67
68
69
|
# File 'lib/kaltura/service/mixing_service.rb', line 65
def get_mixes_by_media_id(media_entry_id)
kparams = {}
client.add_param(kparams, 'mediaEntryId', media_entry_id)
perform_request('mixing','getMixesByMediaId',kparams,false)
end
|
71
72
73
74
75
76
|
# File 'lib/kaltura/service/mixing_service.rb', line 71
def get_ready_media_entries(mix_id, version=-1)
kparams = {}
client.add_param(kparams, 'mixId', mix_id)
client.add_param(kparams, 'version', version)
perform_request('mixing','getReadyMediaEntries',kparams,false)
end
|
#list(filter = nil, pager = nil) ⇒ Object
31
32
33
34
35
36
|
# File 'lib/kaltura/service/mixing_service.rb', line 31
def list(filter=nil, =nil)
kparams = {}
client.add_param(kparams, 'filter', filter)
client.add_param(kparams, 'pager', )
perform_request('mixing','list',kparams,false)
end
|
#request_flattening(entry_id, file_format, version = -1)) ⇒ Object
57
58
59
60
61
62
63
|
# File 'lib/kaltura/service/mixing_service.rb', line 57
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)
perform_request('mixing','requestFlattening',kparams,false)
end
|
#update(entry_id, mix_entry) ⇒ Object
18
19
20
21
22
23
|
# File 'lib/kaltura/service/mixing_service.rb', line 18
def update(entry_id, mix_entry)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
client.add_param(kparams, 'mixEntry', mix_entry)
perform_request('mixing','update',kparams,false)
end
|