kaltura-client 16.14.0 → 17.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README +1 -1
- data/lib/kaltura_client.rb +60 -6
- data/lib/kaltura_enums.rb +14 -2
- data/lib/kaltura_plugins/kaltura_activiti_business_process_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_annotation_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_attachment_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_audit_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_avn_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_beacon_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bpm_event_notification_integration_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_csv_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_filter_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_xml_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +12 -2
- data/lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_capture_space_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_cielo24client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_comcast_mrss_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb +6 -2
- data/lib/kaltura_plugins/kaltura_conference_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +9 -2
- data/lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_document_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_drm_client_plugin.rb +3 -2
- data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +6 -2
- data/lib/kaltura_plugins/kaltura_drop_folder_xml_bulk_upload_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_event_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_external_media_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_fairplay_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_group_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_idetic_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_integration_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_kaltura_internal_tools_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_like_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_live_cluster_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_metadata_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_podcast_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_poll_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_quick_play_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_quiz_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_rating_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +69 -33
- data/lib/kaltura_plugins/kaltura_registration_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_schedule_client_plugin.rb +166 -24
- data/lib/kaltura_plugins/kaltura_schedule_drop_folder_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb +7 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_content_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_event_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_search_history_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_short_link_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_sip_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_sso_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_thumbnail_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_transcript_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_var_console_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_velocix_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_vendor_client_plugin.rb +228 -29
- data/lib/kaltura_plugins/kaltura_view_history_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_watch_later_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_webex_drop_folder_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_widevine_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_wowza_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_youtube_api_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_types.rb +220 -58
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '04858765aaa80cf0abcfa9e1148904ff2567262985a81683e20825905ef19b01'
|
4
|
+
data.tar.gz: 3280fe75a6fc85d836c725b658a0f86d51abe914540fb1a7bbc511c7908256b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943b22b050affd8edfff598cf9265ee9335890b9d988ab2639141e03515b0258743cd567ab36a15697ed1f78f4383d9d332764675ec3ab3fbc7fa75fcdc3e5ad
|
7
|
+
data.tar.gz: 4494248dfa89e4eec80555a5f5a9c4746eb076391ce1ca6433d5777cacc058215014c9b0c975a604e83b2c852b4c183ef1b47cdee72c3ebe800d0b16e7f7baca
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -458,6 +458,21 @@ module Kaltura
|
|
458
458
|
return client.do_queue()
|
459
459
|
end
|
460
460
|
|
461
|
+
# add batch job that sends an email with a link to download an updated CSV that contains list of entries
|
462
|
+
# @return [string]
|
463
|
+
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented)
|
464
|
+
kparams = {}
|
465
|
+
client.add_param(kparams, 'filter', filter)
|
466
|
+
client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
|
467
|
+
client.add_param(kparams, 'additionalFields', additional_fields)
|
468
|
+
client.add_param(kparams, 'mappedFields', mapped_fields)
|
469
|
+
client.queue_service_action_call('baseentry', 'exportToCsv', 'string', kparams)
|
470
|
+
if (client.is_multirequest)
|
471
|
+
return nil
|
472
|
+
end
|
473
|
+
return client.do_queue()
|
474
|
+
end
|
475
|
+
|
461
476
|
# Flag inappropriate entry for moderation.
|
462
477
|
# @return []
|
463
478
|
def flag(moderation_flag)
|
@@ -597,6 +612,15 @@ module Kaltura
|
|
597
612
|
return client.do_queue()
|
598
613
|
end
|
599
614
|
|
615
|
+
# This action serves HLS encrypted key if access control is validated
|
616
|
+
# @return [file]
|
617
|
+
def serve_playback_key(entry_id)
|
618
|
+
kparams = {}
|
619
|
+
client.add_param(kparams, 'entryId', entry_id)
|
620
|
+
client.queue_service_action_call('baseentry', 'servePlaybackKey', 'file', kparams)
|
621
|
+
return client.get_serve_url()
|
622
|
+
end
|
623
|
+
|
600
624
|
# Update base entry. Only the properties that were set will be updated.
|
601
625
|
# @return [KalturaBaseEntry]
|
602
626
|
def update(entry_id, base_entry)
|
@@ -917,6 +941,20 @@ module Kaltura
|
|
917
941
|
return client.do_queue()
|
918
942
|
end
|
919
943
|
|
944
|
+
# Clone Category
|
945
|
+
# @return [KalturaCategory]
|
946
|
+
def clone(category_id, from_partner_id, parent_category_id=KalturaNotImplemented)
|
947
|
+
kparams = {}
|
948
|
+
client.add_param(kparams, 'categoryId', category_id)
|
949
|
+
client.add_param(kparams, 'fromPartnerId', from_partner_id)
|
950
|
+
client.add_param(kparams, 'parentCategoryId', parent_category_id)
|
951
|
+
client.queue_service_action_call('category', 'clone', 'KalturaCategory', kparams)
|
952
|
+
if (client.is_multirequest)
|
953
|
+
return nil
|
954
|
+
end
|
955
|
+
return client.do_queue()
|
956
|
+
end
|
957
|
+
|
920
958
|
# Delete a Category
|
921
959
|
# @return []
|
922
960
|
def delete(id, move_entries_to_parent_category=1)
|
@@ -2100,7 +2138,7 @@ module Kaltura
|
|
2100
2138
|
|
2101
2139
|
# sync by userId and groupIds
|
2102
2140
|
# @return [KalturaBulkUpload]
|
2103
|
-
def sync(user_id, group_ids, remove_from_existing_groups=true, create_new_groups=true)
|
2141
|
+
def sync(user_id, group_ids=KalturaNotImplemented, remove_from_existing_groups=true, create_new_groups=true)
|
2104
2142
|
kparams = {}
|
2105
2143
|
client.add_param(kparams, 'userId', user_id)
|
2106
2144
|
client.add_param(kparams, 'groupIds', group_ids)
|
@@ -3565,6 +3603,21 @@ module Kaltura
|
|
3565
3603
|
return client.do_queue()
|
3566
3604
|
end
|
3567
3605
|
|
3606
|
+
# Create a new Partner object
|
3607
|
+
# @return [bool]
|
3608
|
+
def registration_validation(partner, cms_password='', template_partner_id=KalturaNotImplemented, silent=false)
|
3609
|
+
kparams = {}
|
3610
|
+
client.add_param(kparams, 'partner', partner)
|
3611
|
+
client.add_param(kparams, 'cmsPassword', cms_password)
|
3612
|
+
client.add_param(kparams, 'templatePartnerId', template_partner_id)
|
3613
|
+
client.add_param(kparams, 'silent', silent)
|
3614
|
+
client.queue_service_action_call('partner', 'registrationValidation', 'bool', kparams)
|
3615
|
+
if (client.is_multirequest)
|
3616
|
+
return nil
|
3617
|
+
end
|
3618
|
+
return client.do_queue()
|
3619
|
+
end
|
3620
|
+
|
3568
3621
|
# Update details and settings of an existing partner
|
3569
3622
|
# @return [KalturaPartner]
|
3570
3623
|
def update(partner, allow_empty=false)
|
@@ -5563,11 +5616,12 @@ module Kaltura
|
|
5563
5616
|
|
5564
5617
|
# Creates a batch job that sends an email with a link to download a CSV containing a list of users
|
5565
5618
|
# @return [string]
|
5566
|
-
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented)
|
5619
|
+
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented)
|
5567
5620
|
kparams = {}
|
5568
5621
|
client.add_param(kparams, 'filter', filter)
|
5569
5622
|
client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
|
5570
5623
|
client.add_param(kparams, 'additionalFields', additional_fields)
|
5624
|
+
client.add_param(kparams, 'mappedFields', mapped_fields)
|
5571
5625
|
client.queue_service_action_call('user', 'exportToCsv', 'string', kparams)
|
5572
5626
|
if (client.is_multirequest)
|
5573
5627
|
return nil
|
@@ -6294,8 +6348,8 @@ module Kaltura
|
|
6294
6348
|
|
6295
6349
|
def initialize(client)
|
6296
6350
|
super(client)
|
6297
|
-
self.client_tag = 'ruby:21-
|
6298
|
-
self.api_version = '
|
6351
|
+
self.client_tag = 'ruby:21-10-07'
|
6352
|
+
self.api_version = '17.11.0'
|
6299
6353
|
end
|
6300
6354
|
|
6301
6355
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -715,6 +715,12 @@ module Kaltura
|
|
715
715
|
RESIZE_WITH_FORCE = 5
|
716
716
|
end
|
717
717
|
|
718
|
+
class KalturaTwoFactorAuthenticationMode
|
719
|
+
ALL = 0
|
720
|
+
ADMIN_USERS_ONLY = 1
|
721
|
+
NON_ADMIN_USERS_ONLY = 2
|
722
|
+
end
|
723
|
+
|
718
724
|
class KalturaUiConfCreationMode
|
719
725
|
WIZARD = 2
|
720
726
|
ADVANCED = 3
|
@@ -1258,6 +1264,7 @@ module Kaltura
|
|
1258
1264
|
ASSET_TYPE = "16"
|
1259
1265
|
BOOLEAN = "17"
|
1260
1266
|
HTTP_HEADER = "18"
|
1267
|
+
ENTRY_SCHEDULED = "19"
|
1261
1268
|
end
|
1262
1269
|
|
1263
1270
|
class KalturaConfMapsSourceLocation
|
@@ -3554,6 +3561,7 @@ module Kaltura
|
|
3554
3561
|
INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"
|
3555
3562
|
TOP_CUSTOM_VAR2 = "58"
|
3556
3563
|
TOP_CUSTOM_VAR3 = "59"
|
3564
|
+
SELF_SERVE_USAGE = "60"
|
3557
3565
|
PARTNER_USAGE = "201"
|
3558
3566
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3559
3567
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -3592,6 +3600,7 @@ module Kaltura
|
|
3592
3600
|
PLAYBACK_RATE_VPAAS = "20020"
|
3593
3601
|
PARTNER_USAGE_VPAAS = "20021"
|
3594
3602
|
TOP_PLAYBACK_CONTEXT_VPAAS = "20022"
|
3603
|
+
SELF_SERVE_USAGE_VPAAS = "20023"
|
3595
3604
|
QOE_OVERVIEW = "30001"
|
3596
3605
|
QOE_EXPERIENCE = "30002"
|
3597
3606
|
QOE_EXPERIENCE_PLATFORMS = "30003"
|
@@ -3667,6 +3676,8 @@ module Kaltura
|
|
3667
3676
|
TOP_USERS_WEBCAST = "40009"
|
3668
3677
|
ENGAGEMENT_BREAKDOWN_WEBCAST = "40010"
|
3669
3678
|
ENGAGMENT_TIMELINE_WEBCAST = "40011"
|
3679
|
+
ENGAGEMENT_TOOLS_WEBCAST = "40012"
|
3680
|
+
REACTIONS_BREAKDOWN_WEBCAST = "40013"
|
3670
3681
|
end
|
3671
3682
|
|
3672
3683
|
class KalturaResetPassLinkType
|
@@ -3890,6 +3901,7 @@ module Kaltura
|
|
3890
3901
|
APCN = "apcn"
|
3891
3902
|
APCO = "apco"
|
3892
3903
|
APCS = "apcs"
|
3904
|
+
AV1 = "av1"
|
3893
3905
|
COPY = "copy"
|
3894
3906
|
DNXHD = "dnxhd"
|
3895
3907
|
DV = "dv"
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -52,6 +52,11 @@ module Kaltura
|
|
52
52
|
class KalturaCaptionParamsOrderBy
|
53
53
|
end
|
54
54
|
|
55
|
+
class KalturaCaptionSource
|
56
|
+
UNKNOWN = "0"
|
57
|
+
ZOOM = "1"
|
58
|
+
end
|
59
|
+
|
55
60
|
class KalturaCaptionType
|
56
61
|
SRT = "1"
|
57
62
|
DFXP = "2"
|
@@ -73,6 +78,8 @@ module Kaltura
|
|
73
78
|
attr_accessor :label
|
74
79
|
# The caption format
|
75
80
|
attr_accessor :format
|
81
|
+
# The source of the asset
|
82
|
+
attr_accessor :source
|
76
83
|
# The status of the asset
|
77
84
|
attr_accessor :status
|
78
85
|
# The parent id of the asset
|
@@ -120,6 +127,9 @@ module Kaltura
|
|
120
127
|
if xml_element.elements['format'] != nil
|
121
128
|
self.format = xml_element.elements['format'].text
|
122
129
|
end
|
130
|
+
if xml_element.elements['source'] != nil
|
131
|
+
self.source = xml_element.elements['source'].text
|
132
|
+
end
|
123
133
|
if xml_element.elements['status'] != nil
|
124
134
|
self.status = xml_element.elements['status'].text
|
125
135
|
end
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -52,6 +52,7 @@ module Kaltura
|
|
52
52
|
attr_accessor :remarks
|
53
53
|
# map status
|
54
54
|
attr_accessor :status
|
55
|
+
attr_accessor :change_description
|
55
56
|
|
56
57
|
def is_editable=(val)
|
57
58
|
@is_editable = to_b(val)
|
@@ -101,6 +102,9 @@ module Kaltura
|
|
101
102
|
if xml_element.elements['status'] != nil
|
102
103
|
self.status = xml_element.elements['status'].text
|
103
104
|
end
|
105
|
+
if xml_element.elements['changeDescription'] != nil
|
106
|
+
self.change_description = xml_element.elements['changeDescription'].text
|
107
|
+
end
|
104
108
|
end
|
105
109
|
|
106
110
|
end
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -383,6 +383,7 @@ module Kaltura
|
|
383
383
|
attr_accessor :recommended_dc_for_execute
|
384
384
|
# The event that trigger the automatic distribute
|
385
385
|
attr_accessor :distribute_trigger
|
386
|
+
attr_accessor :support_image_entry
|
386
387
|
|
387
388
|
def id=(val)
|
388
389
|
@id = val.to_i
|
@@ -429,6 +430,9 @@ module Kaltura
|
|
429
430
|
def distribute_trigger=(val)
|
430
431
|
@distribute_trigger = val.to_i
|
431
432
|
end
|
433
|
+
def support_image_entry=(val)
|
434
|
+
@support_image_entry = to_b(val)
|
435
|
+
end
|
432
436
|
|
433
437
|
def from_xml(xml_element)
|
434
438
|
super
|
@@ -507,6 +511,9 @@ module Kaltura
|
|
507
511
|
if xml_element.elements['distributeTrigger'] != nil
|
508
512
|
self.distribute_trigger = xml_element.elements['distributeTrigger'].text
|
509
513
|
end
|
514
|
+
if xml_element.elements['supportImageEntry'] != nil
|
515
|
+
self.support_image_entry = xml_element.elements['supportImageEntry'].text
|
516
|
+
end
|
510
517
|
end
|
511
518
|
|
512
519
|
end
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|