Class: Kaltura::KalturaLiveStreamService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaLiveStreamService
- Defined in:
- lib/kaltura_client.rb
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
- #add(live_stream_entry) ⇒ Object
- #delete(entry_id) ⇒ Object
- #get(entry_id, version = -1)) ⇒ Object
-
#initialize(client) ⇒ KalturaLiveStreamService
constructor
A new instance of KalturaLiveStreamService.
- #list(filter = nil, pager = nil) ⇒ Object
- #update(entry_id, live_stream_entry) ⇒ Object
- #update_offline_thumbnail_from_url(entry_id, url) ⇒ Object
- #update_offline_thumbnail_jpeg(entry_id, file_data) ⇒ Object
Constructor Details
#initialize(client) ⇒ KalturaLiveStreamService
Returns a new instance of KalturaLiveStreamService.
4040 4041 4042 |
# File 'lib/kaltura_client.rb', line 4040 def initialize(client) super(client) end |
Instance Method Details
#add(live_stream_entry) ⇒ Object
4044 4045 4046 4047 4048 4049 4050 4051 4052 |
# File 'lib/kaltura_client.rb', line 4044 def add(live_stream_entry) kparams = {} client.add_param(kparams, 'liveStreamEntry', live_stream_entry); client.queue_service_action_call('liveStream', 'add', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#delete(entry_id) ⇒ Object
4076 4077 4078 4079 4080 4081 4082 4083 4084 |
# File 'lib/kaltura_client.rb', line 4076 def delete(entry_id) kparams = {} client.add_param(kparams, 'entryId', entry_id); client.queue_service_action_call('liveStream', 'delete', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#get(entry_id, version = -1)) ⇒ Object
4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 |
# File 'lib/kaltura_client.rb', line 4054 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('liveStream', 'get', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#list(filter = nil, pager = nil) ⇒ Object
4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 |
# File 'lib/kaltura_client.rb', line 4086 def list(filter=nil, pager=nil) kparams = {} client.add_param(kparams, 'filter', filter); client.add_param(kparams, 'pager', pager); client.queue_service_action_call('liveStream', 'list', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update(entry_id, live_stream_entry) ⇒ Object
4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 |
# File 'lib/kaltura_client.rb', line 4065 def update(entry_id, live_stream_entry) kparams = {} client.add_param(kparams, 'entryId', entry_id); client.add_param(kparams, 'liveStreamEntry', live_stream_entry); client.queue_service_action_call('liveStream', 'update', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update_offline_thumbnail_from_url(entry_id, url) ⇒ Object
4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 |
# File 'lib/kaltura_client.rb', line 4108 def update_offline_thumbnail_from_url(entry_id, url) kparams = {} client.add_param(kparams, 'entryId', entry_id); client.add_param(kparams, 'url', url); client.queue_service_action_call('liveStream', 'updateOfflineThumbnailFromUrl', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update_offline_thumbnail_jpeg(entry_id, file_data) ⇒ Object
4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 |
# File 'lib/kaltura_client.rb', line 4097 def update_offline_thumbnail_jpeg(entry_id, file_data) kparams = {} client.add_param(kparams, 'entryId', entry_id); client.add_param(kparams, 'fileData', file_data); client.queue_service_action_call('liveStream', 'updateOfflineThumbnailJpeg', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |