Class: Kaltura::Service::LiveStreamService
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
Methods inherited from BaseService
#initialize, #perform_request
Instance Method Details
#add(live_stream_entry) ⇒ Object
5
6
7
8
9
|
# File 'lib/kaltura/service/live_stream_service.rb', line 5
def add(live_stream_entry)
kparams = {}
client.add_param(kparams, 'liveStreamEntry', live_stream_entry)
perform_request('liveStream','add',kparams,false)
end
|
#delete(entry_id) ⇒ Object
25
26
27
28
29
|
# File 'lib/kaltura/service/live_stream_service.rb', line 25
def delete(entry_id)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
perform_request('liveStream','delete',kparams,false)
end
|
#get(entry_id, version = -1)) ⇒ Object
11
12
13
14
15
16
|
# File 'lib/kaltura/service/live_stream_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('liveStream','get',kparams,false)
end
|
#list(filter = nil, pager = nil) ⇒ Object
31
32
33
34
35
36
|
# File 'lib/kaltura/service/live_stream_service.rb', line 31
def list(filter=nil, =nil)
kparams = {}
client.add_param(kparams, 'filter', filter)
client.add_param(kparams, 'pager', )
perform_request('liveStream','list',kparams,false)
end
|
#update(entry_id, live_stream_entry) ⇒ Object
18
19
20
21
22
23
|
# File 'lib/kaltura/service/live_stream_service.rb', line 18
def update(entry_id, live_stream_entry)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
client.add_param(kparams, 'liveStreamEntry', live_stream_entry)
perform_request('liveStream','update',kparams,false)
end
|
#update_offline_thumbnail_from_url(entry_id, url) ⇒ Object
45
46
47
48
49
50
|
# File 'lib/kaltura/service/live_stream_service.rb', line 45
def update_offline_thumbnail_from_url(entry_id, url)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
client.add_param(kparams, 'url', url)
perform_request('liveStream','updateOfflineThumbnailFromUrl',kparams,false)
end
|
#update_offline_thumbnail_jpeg(entry_id, file_data) ⇒ Object
38
39
40
41
42
43
|
# File 'lib/kaltura/service/live_stream_service.rb', line 38
def update_offline_thumbnail_jpeg(entry_id, file_data)
kparams = {}
client.add_param(kparams, 'entryId', entry_id)
client.add_param(kparams, 'fileData', file_data)
perform_request('liveStream','updateOfflineThumbnailJpeg',kparams,false)
end
|