kaltura-client 3.1.6 → 3.1.7

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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README +0 -1
  3. data/agpl.txt +67 -80
  4. data/kaltura.yml +5 -5
  5. data/lib/kaltura_client.rb +451 -84
  6. data/lib/kaltura_client_base.rb +1 -1
  7. data/lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb +1 -1
  8. data/lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb +356 -0
  9. data/lib/kaltura_plugins/kaltura_annotation_client_plugin.rb +1 -1
  10. data/lib/kaltura_plugins/kaltura_attachment_client_plugin.rb +1 -1
  11. data/lib/kaltura_plugins/kaltura_bulk_upload_client_plugin.rb +1 -1
  12. data/lib/kaltura_plugins/kaltura_bulk_upload_csv_client_plugin.rb +1 -1
  13. data/lib/kaltura_plugins/kaltura_bulk_upload_filter_client_plugin.rb +1 -1
  14. data/lib/kaltura_plugins/kaltura_bulk_upload_xml_client_plugin.rb +1 -1
  15. data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +1 -1
  16. data/lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb +1 -1
  17. data/lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb +1 -1
  18. data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +1 -26
  19. data/lib/kaltura_plugins/kaltura_cue_point_client_plugin.rb +3 -7
  20. data/lib/kaltura_plugins/kaltura_document_client_plugin.rb +1 -1
  21. data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +1 -2
  22. data/lib/kaltura_plugins/kaltura_drop_folder_xml_bulk_upload_client_plugin.rb +1 -1
  23. data/lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb +1 -1
  24. data/lib/kaltura_plugins/kaltura_event_cue_point_client_plugin.rb +1 -1
  25. data/lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb +3 -1
  26. data/lib/kaltura_plugins/kaltura_external_media_client_plugin.rb +1 -1
  27. data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +1 -1
  28. data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +1 -1
  29. data/lib/kaltura_plugins/kaltura_kaltura_internal_tools_client_plugin.rb +108 -0
  30. data/lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb +1 -1
  31. data/lib/kaltura_plugins/kaltura_like_client_plugin.rb +1 -1
  32. data/lib/kaltura_plugins/kaltura_metadata_client_plugin.rb +1 -2
  33. data/lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb +14 -1
  34. data/lib/kaltura_plugins/kaltura_scheduled_task_content_distribution_client_plugin.rb +42 -0
  35. data/lib/kaltura_plugins/kaltura_scheduled_task_event_notification_client_plugin.rb +1 -1
  36. data/lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb +1 -1
  37. data/lib/kaltura_plugins/kaltura_short_link_client_plugin.rb +1 -1
  38. data/lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb +575 -0
  39. data/lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb +1 -1
  40. data/lib/kaltura_plugins/kaltura_var_console_client_plugin.rb +1 -1
  41. data/lib/kaltura_plugins/kaltura_velocix_client_plugin.rb +1 -1
  42. data/lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb +1 -4
  43. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d7caa67de611c9b036c4526f63065f981f56c1f
4
- data.tar.gz: 11016d3e09a78eba790d0dcaea1832da36c5b1dd
3
+ metadata.gz: 55d9dc87be7c1400330b4b00806bf80d6ed2cd1d
4
+ data.tar.gz: 826027fd99f7666c99e1da053181c89f0dd77419
5
5
  SHA512:
6
- metadata.gz: dd9ab726eb904cbf7cd7bf0071fc3ee98be31ac95a4b26bbadb25056b359065ac2a34f72ce5def5d226eebb3e441ff481ea8252bc8c692f2f8c6dd8f1418aeeb
7
- data.tar.gz: bf3954a304d2e4ba0654eadd60db15fef12a631ef831299cfada9a89d27472e09bb3c2315fac28579541304280094257315ca13d76f676bcd8b4e1a2f218f4ec
6
+ metadata.gz: c88f072803eefdddc86d7daf22260f82e21c9db6093af538fdc83de55856e1e67f9af21e856e7aff67278d8abcf9af83358e068f19a403801b33bfa7498ea8e4
7
+ data.tar.gz: 673ec4c1e3d09a6c6793ed3c994772c67ed74b0ada023c55f19a76de81fe24c6341276239635e0abde278fda4fd0307b256fd9e148894207fa3974b09ce7d779
data/README CHANGED
@@ -1,4 +1,3 @@
1
- Generated on: 16-12-2014
2
1
  This source contains:
3
2
  - The Kaltura client library (kaltura_client_base.rb)
4
3
  - Auto generated core APIs (kaltura_client.rb)
data/agpl.txt CHANGED
@@ -1,5 +1,5 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
1
+ GNU AFFERO GENERAL PUBLIC LICENSE
2
+ Version 3, 19 November 2007
3
3
 
4
4
  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
5
  Everyone is permitted to copy and distribute verbatim copies
@@ -7,17 +7,15 @@
7
7
 
8
8
  Preamble
9
9
 
10
- The GNU General Public License is a free, copyleft license for
11
- software and other kinds of works.
10
+ The GNU Affero General Public License is a free, copyleft license for
11
+ software and other kinds of works, specifically designed to ensure
12
+ cooperation with the community in the case of network server software.
12
13
 
13
14
  The licenses for most software and other practical works are designed
14
15
  to take away your freedom to share and change the works. By contrast,
15
- the GNU General Public License is intended to guarantee your freedom to
16
+ our General Public Licenses are intended to guarantee your freedom to
16
17
  share and change all versions of a program--to make sure it remains free
17
- software for all its users. We, the Free Software Foundation, use the
18
- GNU General Public License for most of our software; it applies also to
19
- any other work released this way by its authors. You can apply it to
20
- your programs, too.
18
+ software for all its users.
21
19
 
22
20
  When we speak of free software, we are referring to freedom, not
23
21
  price. Our General Public Licenses are designed to make sure that you
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
26
24
  want it, that you can change the software or use pieces of it in new
27
25
  free programs, and that you know you can do these things.
28
26
 
29
- To protect your rights, we need to prevent others from denying you
30
- these rights or asking you to surrender the rights. Therefore, you have
31
- certain responsibilities if you distribute copies of the software, or if
32
- you modify it: responsibilities to respect the freedom of others.
33
-
34
- For example, if you distribute copies of such a program, whether
35
- gratis or for a fee, you must pass on to the recipients the same
36
- freedoms that you received. You must make sure that they, too, receive
37
- or can get the source code. And you must show them these terms so they
38
- know their rights.
39
-
40
- Developers that use the GNU GPL protect your rights with two steps:
41
- (1) assert copyright on the software, and (2) offer you this License
42
- giving you legal permission to copy, distribute and/or modify it.
43
-
44
- For the developers' and authors' protection, the GPL clearly explains
45
- that there is no warranty for this free software. For both users' and
46
- authors' sake, the GPL requires that modified versions be marked as
47
- changed, so that their problems will not be attributed erroneously to
48
- authors of previous versions.
49
-
50
- Some devices are designed to deny users access to install or run
51
- modified versions of the software inside them, although the manufacturer
52
- can do so. This is fundamentally incompatible with the aim of
53
- protecting users' freedom to change the software. The systematic
54
- pattern of such abuse occurs in the area of products for individuals to
55
- use, which is precisely where it is most unacceptable. Therefore, we
56
- have designed this version of the GPL to prohibit the practice for those
57
- products. If such problems arise substantially in other domains, we
58
- stand ready to extend this provision to those domains in future versions
59
- of the GPL, as needed to protect the freedom of users.
60
-
61
- Finally, every program is threatened constantly by software patents.
62
- States should not allow patents to restrict development and use of
63
- software on general-purpose computers, but in those that do, we wish to
64
- avoid the special danger that patents applied to a free program could
65
- make it effectively proprietary. To prevent this, the GPL assures that
66
- patents cannot be used to render the program non-free.
27
+ Developers that use our General Public Licenses protect your rights
28
+ with two steps: (1) assert copyright on the software, and (2) offer
29
+ you this License which gives you legal permission to copy, distribute
30
+ and/or modify the software.
31
+
32
+ A secondary benefit of defending all users' freedom is that
33
+ improvements made in alternate versions of the program, if they
34
+ receive widespread use, become available for other developers to
35
+ incorporate. Many developers of free software are heartened and
36
+ encouraged by the resulting cooperation. However, in the case of
37
+ software used on network servers, this result may fail to come about.
38
+ The GNU General Public License permits making a modified version and
39
+ letting the public access it on a server without ever releasing its
40
+ source code to the public.
41
+
42
+ The GNU Affero General Public License is designed specifically to
43
+ ensure that, in such cases, the modified source code becomes available
44
+ to the community. It requires the operator of a network server to
45
+ provide the source code of the modified version running there to the
46
+ users of that server. Therefore, public use of a modified version, on
47
+ a publicly accessible server, gives the public access to the source
48
+ code of the modified version.
49
+
50
+ An older license, called the Affero General Public License and
51
+ published by Affero, was designed to accomplish similar goals. This is
52
+ a different license, not a version of the Affero GPL, but Affero has
53
+ released a new version of the Affero GPL which permits relicensing under
54
+ this license.
67
55
 
68
56
  The precise terms and conditions for copying, distribution and
69
57
  modification follow.
@@ -72,7 +60,7 @@ modification follow.
72
60
 
73
61
  0. Definitions.
74
62
 
75
- "This License" refers to version 3 of the GNU General Public License.
63
+ "This License" refers to version 3 of the GNU Affero General Public License.
76
64
 
77
65
  "Copyright" also means copyright-like laws that apply to other kinds of
78
66
  works, such as semiconductor masks.
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
549
537
  the Program, the only way you could satisfy both those terms and this
550
538
  License would be to refrain entirely from conveying the Program.
551
539
 
552
- 13. Use with the GNU Affero General Public License.
540
+ 13. Remote Network Interaction; Use with the GNU General Public License.
541
+
542
+ Notwithstanding any other provision of this License, if you modify the
543
+ Program, your modified version must prominently offer all users
544
+ interacting with it remotely through a computer network (if your version
545
+ supports such interaction) an opportunity to receive the Corresponding
546
+ Source of your version by providing access to the Corresponding Source
547
+ from a network server at no charge, through some standard or customary
548
+ means of facilitating copying of software. This Corresponding Source
549
+ shall include the Corresponding Source for any work covered by version 3
550
+ of the GNU General Public License that is incorporated pursuant to the
551
+ following paragraph.
553
552
 
554
553
  Notwithstanding any other provision of this License, you have
555
554
  permission to link or combine any covered work with a work licensed
556
- under version 3 of the GNU Affero General Public License into a single
555
+ under version 3 of the GNU General Public License into a single
557
556
  combined work, and to convey the resulting work. The terms of this
558
557
  License will continue to apply to the part which is the covered work,
559
- but the special requirements of the GNU Affero General Public License,
560
- section 13, concerning interaction through a network will apply to the
561
- combination as such.
558
+ but the work with which it is combined will remain governed by version
559
+ 3 of the GNU General Public License.
562
560
 
563
561
  14. Revised Versions of this License.
564
562
 
565
563
  The Free Software Foundation may publish revised and/or new versions of
566
- the GNU General Public License from time to time. Such new versions will
567
- be similar in spirit to the present version, but may differ in detail to
564
+ the GNU Affero General Public License from time to time. Such new versions
565
+ will be similar in spirit to the present version, but may differ in detail to
568
566
  address new problems or concerns.
569
567
 
570
568
  Each version is given a distinguishing version number. If the
571
- Program specifies that a certain numbered version of the GNU General
569
+ Program specifies that a certain numbered version of the GNU Affero General
572
570
  Public License "or any later version" applies to it, you have the
573
571
  option of following the terms and conditions either of that numbered
574
572
  version or of any later version published by the Free Software
575
573
  Foundation. If the Program does not specify a version number of the
576
- GNU General Public License, you may choose any version ever published
574
+ GNU Affero General Public License, you may choose any version ever published
577
575
  by the Free Software Foundation.
578
576
 
579
577
  If the Program specifies that a proxy can decide which future
580
- versions of the GNU General Public License can be used, that proxy's
578
+ versions of the GNU Affero General Public License can be used, that proxy's
581
579
  public statement of acceptance of a version permanently authorizes you
582
580
  to choose that version for the Program.
583
581
 
@@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found.
635
633
  Copyright (C) <year> <name of author>
636
634
 
637
635
  This program is free software: you can redistribute it and/or modify
638
- it under the terms of the GNU General Public License as published by
636
+ it under the terms of the GNU Affero General Public License as published by
639
637
  the Free Software Foundation, either version 3 of the License, or
640
638
  (at your option) any later version.
641
639
 
642
640
  This program is distributed in the hope that it will be useful,
643
641
  but WITHOUT ANY WARRANTY; without even the implied warranty of
644
642
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
- GNU General Public License for more details.
643
+ GNU Affero General Public License for more details.
646
644
 
647
- You should have received a copy of the GNU General Public License
645
+ You should have received a copy of the GNU Affero General Public License
648
646
  along with this program. If not, see <http://www.gnu.org/licenses/>.
649
647
 
650
648
  Also add information on how to contact you by electronic and paper mail.
651
649
 
652
- If the program does terminal interaction, make it output a short
653
- notice like this when it starts in an interactive mode:
654
-
655
- <program> Copyright (C) <year> <name of author>
656
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
- This is free software, and you are welcome to redistribute it
658
- under certain conditions; type `show c' for details.
659
-
660
- The hypothetical commands `show w' and `show c' should show the appropriate
661
- parts of the General Public License. Of course, your program's commands
662
- might be different; for a GUI interface, you would use an "about box".
650
+ If your software can interact with users remotely through a computer
651
+ network, you should also make sure that it provides a way for users to
652
+ get its source. For example, if your program is a web application, its
653
+ interface could display a "Source" link that leads users to an archive
654
+ of the code. There are many ways you could offer source, and different
655
+ solutions will be better for different programs; see section 13 for the
656
+ specific requirements.
663
657
 
664
658
  You should also get your employer (if you work as a programmer) or school,
665
659
  if any, to sign a "copyright disclaimer" for the program, if necessary.
666
- For more information on this, and how to apply and follow the GNU GPL, see
660
+ For more information on this, and how to apply and follow the GNU AGPL, see
667
661
  <http://www.gnu.org/licenses/>.
668
-
669
- The GNU General Public License does not permit incorporating your program
670
- into proprietary programs. If your program is a subroutine library, you
671
- may consider it more useful to permit linking proprietary applications with
672
- the library. If this is what you want to do, use the GNU Lesser General
673
- Public License instead of this License. But first, please read
674
- <http://www.gnu.org/philosophy/why-not-lgpl.html>.
@@ -1,7 +1,7 @@
1
1
  test:
2
- user_name: jess
3
- partner_id: 104
4
- administrator_secret: 9eb5ff999be0794eb68961c266780553
5
- secret: fb18a9ba55d897d066bae7bfe0c7cd6f
6
- service_url: http://ce-csi.dev.kaltura.com
2
+ user_name: testUser
3
+ partner_id: 101
4
+ administrator_secret: 066439f83615896a16efce529b84fcfb
5
+ secret: 65b05dbdfc77b95ed4b21ff9b923d545
6
+ service_url: http://54.163.254.64
7
7
  timeout: 120
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 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
@@ -218,6 +218,11 @@ module Kaltura
218
218
  FEMALE = 2
219
219
  end
220
220
 
221
+ class KalturaGroupUserStatus
222
+ ACTIVE = 0
223
+ DELETED = 1
224
+ end
225
+
221
226
  class KalturaInheritanceType
222
227
  INHERIT = 1
223
228
  MANUAL = 2
@@ -269,6 +274,11 @@ module Kaltura
269
274
  SYNDICATION_LIVE = 32
270
275
  end
271
276
 
277
+ class KalturaLiveStatsEventType
278
+ LIVE = 1
279
+ DVR = 2
280
+ end
281
+
272
282
  class KalturaMailJobStatus
273
283
  PENDING = 1
274
284
  SENT = 2
@@ -395,7 +405,8 @@ module Kaltura
395
405
 
396
406
  class KalturaRecordStatus
397
407
  DISABLED = 0
398
- ENABLED = 1
408
+ APPENDED = 1
409
+ PER_SESSION = 2
399
410
  end
400
411
 
401
412
  class KalturaReportType
@@ -420,6 +431,7 @@ module Kaltura
420
431
  OPERATION_SYSTEM = 22
421
432
  BROWSERS = 23
422
433
  LIVE = 24
434
+ TOP_PLAYBACK_CONTEXT = 25
423
435
  PARTNER_USAGE = 201
424
436
  end
425
437
 
@@ -598,6 +610,13 @@ module Kaltura
598
610
  MANUAL = 3
599
611
  end
600
612
 
613
+ class KalturaStorageServePriority
614
+ KALTURA_ONLY = 1
615
+ KALTURA_FIRST = 2
616
+ EXTERNAL_FIRST = 3
617
+ EXTERNAL_ONLY = 4
618
+ end
619
+
601
620
  class KalturaSyndicationFeedStatus
602
621
  DELETED = -1
603
622
  ACTIVE = 1
@@ -656,6 +675,7 @@ module Kaltura
656
675
  CLIPPER = 18
657
676
  KSR = 19
658
677
  KUPLOAD = 20
678
+ WEBCASTING = 21
659
679
  end
660
680
 
661
681
  class KalturaUpdateMethodType
@@ -701,6 +721,11 @@ module Kaltura
701
721
  DELETED = 2
702
722
  end
703
723
 
724
+ class KalturaUserType
725
+ USER = 0
726
+ GROUP = 1
727
+ end
728
+
704
729
  class KalturaWidgetSecurityType
705
730
  NONE = 1
706
731
  TIMEHASH = 2
@@ -793,8 +818,6 @@ module Kaltura
793
818
  IMAGE = "document.Image"
794
819
  PDF = "document.PDF"
795
820
  SWF = "document.SWF"
796
- TIMED_THUMB_ASSET = "thumbCuePoint.timedThumb"
797
- WIDEVINE_FLAVOR = "widevine.WidevineFlavor"
798
821
  FLAVOR = "1"
799
822
  THUMBNAIL = "2"
800
823
  LIVE = "3"
@@ -875,9 +898,9 @@ module Kaltura
875
898
  end
876
899
 
877
900
  class KalturaBatchJobType
901
+ CONVERT = "0"
878
902
  PARSE_CAPTION_ASSET = "captionSearch.parseCaptionAsset"
879
903
  DISTRIBUTION_DELETE = "contentDistribution.DistributionDelete"
880
- CONVERT = "0"
881
904
  DISTRIBUTION_DISABLE = "contentDistribution.DistributionDisable"
882
905
  DISTRIBUTION_ENABLE = "contentDistribution.DistributionEnable"
883
906
  DISTRIBUTION_FETCH_REPORT = "contentDistribution.DistributionFetchReport"
@@ -891,7 +914,6 @@ module Kaltura
891
914
  INDEX_TAGS = "tagSearch.IndexTagsByPrivacyContext"
892
915
  TAG_RESOLVE = "tagSearch.TagResolve"
893
916
  VIRUS_SCAN = "virusScan.VirusScan"
894
- WIDEVINE_REPOSITORY_SYNC = "widevine.WidevineRepositorySync"
895
917
  IMPORT = "1"
896
918
  DELETE = "2"
897
919
  FLATTEN = "3"
@@ -1018,7 +1040,6 @@ module Kaltura
1018
1040
  end
1019
1041
 
1020
1042
  class KalturaConditionType
1021
- ABC_WATERMARK = "abcScreenersWatermarkAccessControl.abcWatermark"
1022
1043
  EVENT_NOTIFICATION_FIELD = "eventNotification.BooleanField"
1023
1044
  EVENT_NOTIFICATION_OBJECT_CHANGED = "eventNotification.ObjectChanged"
1024
1045
  METADATA_FIELD_CHANGED = "metadata.FieldChanged"
@@ -1034,6 +1055,7 @@ module Kaltura
1034
1055
  ASSET_PROPERTIES_COMPARE = "8"
1035
1056
  USER_ROLE = "9"
1036
1057
  GEO_DISTANCE = "10"
1058
+ OR_OPERATOR = "11"
1037
1059
  end
1038
1060
 
1039
1061
  class KalturaContainerFormat
@@ -1205,8 +1227,6 @@ module Kaltura
1205
1227
  EDGE_CAST_HTTP = "edgeCast.EDGE_CAST_HTTP"
1206
1228
  EDGE_CAST_RTMP = "edgeCast.EDGE_CAST_RTMP"
1207
1229
  KONTIKI_HTTP = "kontiki.KONTIKI_HTTP"
1208
- UPLYNK_HTTP = "uplynk.UPLYNK_HTTP"
1209
- UPLYNK_RTMP = "uplynk.UPLYNK_RTMP"
1210
1230
  VELOCIX_HDS = "velocix.VELOCIX_HDS"
1211
1231
  VELOCIX_HLS = "velocix.VELOCIX_HLS"
1212
1232
  APPLE_HTTP = "1"
@@ -1236,6 +1256,7 @@ module Kaltura
1236
1256
  LIMELIGHT_HTTP = "44"
1237
1257
  LIMELIGHT_RTMP = "45"
1238
1258
  LOCAL_PATH_APPLE_HTTP = "51"
1259
+ LOCAL_PATH_HDS = "53"
1239
1260
  LOCAL_PATH_HTTP = "54"
1240
1261
  LOCAL_PATH_RTMP = "55"
1241
1262
  VOD_PACKAGER_HLS = "61"
@@ -1244,6 +1265,7 @@ module Kaltura
1244
1265
  VOD_PACKAGER_DASH = "68"
1245
1266
  LIVE_HLS = "1001"
1246
1267
  LIVE_HDS = "1002"
1268
+ LIVE_DASH = "1003"
1247
1269
  LIVE_RTMP = "1005"
1248
1270
  LIVE_AKAMAI_HDS = "1013"
1249
1271
  end
@@ -1400,6 +1422,13 @@ module Kaltura
1400
1422
  UPDATED_AT_DESC = "-updatedAt"
1401
1423
  end
1402
1424
 
1425
+ class KalturaGroupUserOrderBy
1426
+ CREATED_AT_ASC = "+createdAt"
1427
+ UPDATED_AT_ASC = "+updatedAt"
1428
+ CREATED_AT_DESC = "-createdAt"
1429
+ UPDATED_AT_DESC = "-updatedAt"
1430
+ end
1431
+
1403
1432
  class KalturaITunesSyndicationFeedAdultValues
1404
1433
  CLEAN = "clean"
1405
1434
  NO = "no"
@@ -1898,6 +1927,12 @@ module Kaltura
1898
1927
  class KalturaLiveParamsOrderBy
1899
1928
  end
1900
1929
 
1930
+ class KalturaLiveReportOrderBy
1931
+ AUDIENCE_DESC = "-audience"
1932
+ EVENT_TIME_DESC = "-eventTime"
1933
+ PLAYS_DESC = "-plays"
1934
+ end
1935
+
1901
1936
  class KalturaLiveReportType
1902
1937
  ENTRY_GEO_TIME_LINE = "ENTRY_GEO_TIME_LINE"
1903
1938
  ENTRY_SYNDICATION_TOTAL = "ENTRY_SYNDICATION_TOTAL"
@@ -2075,7 +2110,6 @@ module Kaltura
2075
2110
 
2076
2111
  class KalturaMediaParserType
2077
2112
  MEDIAINFO = "0"
2078
- REMOTE_MEDIAINFO = "remoteMediaInfo.RemoteMediaInfo"
2079
2113
  FFMPEG = "1"
2080
2114
  end
2081
2115
 
@@ -2255,7 +2289,6 @@ module Kaltura
2255
2289
  end
2256
2290
 
2257
2291
  class KalturaRuleActionType
2258
- DRM_POLICY = "playReady.DRM_POLICY"
2259
2292
  BLOCK = "1"
2260
2293
  PREVIEW = "2"
2261
2294
  LIMIT_FLAVORS = "3"
@@ -2280,7 +2313,6 @@ module Kaltura
2280
2313
  end
2281
2314
 
2282
2315
  class KalturaSourceType
2283
- LIMELIGHT_LIVE = "limeLight.LIVE_STREAM"
2284
2316
  VELOCIX_LIVE = "velocix.VELOCIX_LIVE"
2285
2317
  FILE = "1"
2286
2318
  WEBCAM = "2"
@@ -2851,10 +2883,10 @@ module Kaltura
2851
2883
  # Entry admin tags can be updated only by administrators
2852
2884
  #
2853
2885
  attr_accessor :admin_tags
2854
- # Categories with no entitlement that this entry belongs to.
2886
+ # Comma separated list of full names of categories to which this entry belongs. Only categories that don't have entitlement (privacy context) are listed, to retrieve the full list of categories, use the categoryEntry.list action.
2855
2887
  #
2856
2888
  attr_accessor :categories
2857
- # Categories Ids of categories with no entitlement that this entry belongs to
2889
+ # Comma separated list of ids of categories to which this entry belongs. Only categories that don't have entitlement (privacy context) are listed, to retrieve the full list of categories, use the categoryEntry.list action.
2858
2890
  #
2859
2891
  attr_accessor :categories_ids
2860
2892
  attr_accessor :status
@@ -4273,6 +4305,8 @@ module Kaltura
4273
4305
  attr_accessor :multi_stream
4274
4306
  attr_accessor :anamorphic_pixels
4275
4307
  attr_accessor :is_avoid_forced_key_frames
4308
+ attr_accessor :is_crop_imx
4309
+ attr_accessor :optimization_policy
4276
4310
  attr_accessor :max_frame_rate
4277
4311
  attr_accessor :video_constant_bitrate
4278
4312
  attr_accessor :video_bitrate_tolerance
@@ -4340,6 +4374,12 @@ module Kaltura
4340
4374
  def is_avoid_forced_key_frames=(val)
4341
4375
  @is_avoid_forced_key_frames = val.to_i
4342
4376
  end
4377
+ def is_crop_imx=(val)
4378
+ @is_crop_imx = val.to_i
4379
+ end
4380
+ def optimization_policy=(val)
4381
+ @optimization_policy = val.to_i
4382
+ end
4343
4383
  def max_frame_rate=(val)
4344
4384
  @max_frame_rate = val.to_i
4345
4385
  end
@@ -4404,6 +4444,41 @@ module Kaltura
4404
4444
  end
4405
4445
  end
4406
4446
 
4447
+ class KalturaGroupUser < KalturaObjectBase
4448
+ attr_accessor :user_id
4449
+ attr_accessor :group_id
4450
+ attr_accessor :status
4451
+ attr_accessor :partner_id
4452
+ # Creation date as Unix timestamp (In seconds)
4453
+ #
4454
+ attr_accessor :created_at
4455
+ # Last update date as Unix timestamp (In seconds)
4456
+ #
4457
+ attr_accessor :updated_at
4458
+
4459
+ def status=(val)
4460
+ @status = val.to_i
4461
+ end
4462
+ def partner_id=(val)
4463
+ @partner_id = val.to_i
4464
+ end
4465
+ def created_at=(val)
4466
+ @created_at = val.to_i
4467
+ end
4468
+ def updated_at=(val)
4469
+ @updated_at = val.to_i
4470
+ end
4471
+ end
4472
+
4473
+ class KalturaGroupUserListResponse < KalturaObjectBase
4474
+ attr_accessor :objects
4475
+ attr_accessor :total_count
4476
+
4477
+ def total_count=(val)
4478
+ @total_count = val.to_i
4479
+ end
4480
+ end
4481
+
4407
4482
  class KalturaObject < KalturaObjectBase
4408
4483
 
4409
4484
  end
@@ -4422,6 +4497,17 @@ module Kaltura
4422
4497
 
4423
4498
  end
4424
4499
 
4500
+ # A key (boolean) value pair representation to return an array of key-(boolean)value pairs (associative array)
4501
+ #
4502
+ class KalturaKeyBooleanValue < KalturaObjectBase
4503
+ attr_accessor :key
4504
+ attr_accessor :value
4505
+
4506
+ def value=(val)
4507
+ @value = to_b(val)
4508
+ end
4509
+ end
4510
+
4425
4511
  # A representation of a live stream configuration
4426
4512
  #
4427
4513
  class KalturaLiveStreamConfiguration < KalturaObjectBase
@@ -4442,6 +4528,16 @@ module Kaltura
4442
4528
 
4443
4529
  end
4444
4530
 
4531
+ # A representation of a live stream recording entry configuration
4532
+ #
4533
+ class KalturaLiveEntryRecordingOptions < KalturaObjectBase
4534
+ attr_accessor :should_copy_entitlement
4535
+
4536
+ def should_copy_entitlement=(val)
4537
+ @should_copy_entitlement = val.to_i
4538
+ end
4539
+ end
4540
+
4445
4541
  class KalturaLiveEntry < KalturaMediaEntry
4446
4542
  # The message to be presented when the stream is offline
4447
4543
  #
@@ -4479,6 +4575,7 @@ module Kaltura
4479
4575
  # The time (unix timestamp in milliseconds) in which the entry broadcast started or 0 when the entry is off the air
4480
4576
  #
4481
4577
  attr_accessor :current_broadcast_start_time
4578
+ attr_accessor :recording_options
4482
4579
 
4483
4580
  def record_status=(val)
4484
4581
  @record_status = val.to_i
@@ -4603,6 +4700,9 @@ module Kaltura
4603
4700
  # Time zone offset in minutes (between client to UTC)
4604
4701
  #
4605
4702
  attr_accessor :time_zone_offset
4703
+ # Optional argument that allows controlling the prefix of the exported csv url
4704
+ #
4705
+ attr_accessor :application_url_template
4606
4706
 
4607
4707
  def time_zone_offset=(val)
4608
4708
  @time_zone_offset = val.to_i
@@ -4623,6 +4723,7 @@ module Kaltura
4623
4723
  attr_accessor :from_time
4624
4724
  attr_accessor :to_time
4625
4725
  attr_accessor :live
4726
+ attr_accessor :order_by
4626
4727
 
4627
4728
  def from_time=(val)
4628
4729
  @from_time = val.to_i
@@ -4637,6 +4738,7 @@ module Kaltura
4637
4738
 
4638
4739
  class KalturaLiveStats < KalturaObjectBase
4639
4740
  attr_accessor :audience
4741
+ attr_accessor :dvr_audience
4640
4742
  attr_accessor :avg_bitrate
4641
4743
  attr_accessor :buffer_time
4642
4744
  attr_accessor :plays
@@ -4647,6 +4749,9 @@ module Kaltura
4647
4749
  def audience=(val)
4648
4750
  @audience = val.to_i
4649
4751
  end
4752
+ def dvr_audience=(val)
4753
+ @dvr_audience = val.to_i
4754
+ end
4650
4755
  def avg_bitrate=(val)
4651
4756
  @avg_bitrate = val.to_f
4652
4757
  end
@@ -4667,6 +4772,57 @@ module Kaltura
4667
4772
  end
4668
4773
  end
4669
4774
 
4775
+ # Will hold data from the Kaltura Player components to be passed on to the live analytics system
4776
+ #
4777
+ class KalturaLiveStatsEvent < KalturaObjectBase
4778
+ attr_accessor :partner_id
4779
+ attr_accessor :entry_id
4780
+ # an integer representing the type of event being sent from the player
4781
+ #
4782
+ attr_accessor :event_type
4783
+ # a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it
4784
+ #
4785
+ attr_accessor :session_id
4786
+ # incremental sequence of the event
4787
+ #
4788
+ attr_accessor :event_index
4789
+ # buffer time in seconds from the last 10 seconds
4790
+ #
4791
+ attr_accessor :buffer_time
4792
+ # bitrate used in the last 10 seconds
4793
+ #
4794
+ attr_accessor :bitrate
4795
+ # the referrer of the client
4796
+ #
4797
+ attr_accessor :referrer
4798
+ attr_accessor :is_live
4799
+ # the event start time as string
4800
+ #
4801
+ attr_accessor :start_time
4802
+ # delivery type used for this stream
4803
+ #
4804
+ attr_accessor :delivery_type
4805
+
4806
+ def partner_id=(val)
4807
+ @partner_id = val.to_i
4808
+ end
4809
+ def event_type=(val)
4810
+ @event_type = val.to_i
4811
+ end
4812
+ def event_index=(val)
4813
+ @event_index = val.to_i
4814
+ end
4815
+ def buffer_time=(val)
4816
+ @buffer_time = val.to_i
4817
+ end
4818
+ def bitrate=(val)
4819
+ @bitrate = val.to_i
4820
+ end
4821
+ def is_live=(val)
4822
+ @is_live = to_b(val)
4823
+ end
4824
+ end
4825
+
4670
4826
  class KalturaLiveStatsListResponse < KalturaObjectBase
4671
4827
  attr_accessor :objects
4672
4828
  attr_accessor :total_count
@@ -4857,6 +5013,8 @@ module Kaltura
4857
5013
  attr_accessor :root_entry_id_equal
4858
5014
  attr_accessor :root_entry_id_in
4859
5015
  attr_accessor :parent_entry_id_equal
5016
+ attr_accessor :entitled_users_edit_match_and
5017
+ attr_accessor :entitled_users_publish_match_and
4860
5018
  attr_accessor :tags_name_multi_like_or
4861
5019
  attr_accessor :tags_admin_tags_multi_like_or
4862
5020
  attr_accessor :tags_admin_tags_name_multi_like_or
@@ -5723,6 +5881,46 @@ module Kaltura
5723
5881
  end
5724
5882
  end
5725
5883
 
5884
+ class KalturaReport < KalturaObjectBase
5885
+ # Report id
5886
+ #
5887
+ attr_accessor :id
5888
+ # Partner id associated with the report
5889
+ #
5890
+ attr_accessor :partner_id
5891
+ # Report name
5892
+ #
5893
+ attr_accessor :name
5894
+ # Used to identify system reports in a friendly way
5895
+ #
5896
+ attr_accessor :system_name
5897
+ # Report description
5898
+ #
5899
+ attr_accessor :description
5900
+ # Report query
5901
+ #
5902
+ attr_accessor :query
5903
+ # Creation date as Unix timestamp (In seconds)
5904
+ #
5905
+ attr_accessor :created_at
5906
+ # Last update date as Unix timestamp (In seconds)
5907
+ #
5908
+ attr_accessor :updated_at
5909
+
5910
+ def id=(val)
5911
+ @id = val.to_i
5912
+ end
5913
+ def partner_id=(val)
5914
+ @partner_id = val.to_i
5915
+ end
5916
+ def created_at=(val)
5917
+ @created_at = val.to_i
5918
+ end
5919
+ def updated_at=(val)
5920
+ @updated_at = val.to_i
5921
+ end
5922
+ end
5923
+
5726
5924
  class KalturaReportBaseTotal < KalturaObjectBase
5727
5925
  attr_accessor :id
5728
5926
  attr_accessor :data
@@ -5757,6 +5955,15 @@ module Kaltura
5757
5955
  end
5758
5956
  end
5759
5957
 
5958
+ class KalturaReportListResponse < KalturaObjectBase
5959
+ attr_accessor :objects
5960
+ attr_accessor :total_count
5961
+
5962
+ def total_count=(val)
5963
+ @total_count = val.to_i
5964
+ end
5965
+ end
5966
+
5760
5967
  class KalturaReportResponse < KalturaObjectBase
5761
5968
  attr_accessor :columns
5762
5969
  attr_accessor :results
@@ -6053,6 +6260,9 @@ module Kaltura
6053
6260
  # Delivery profile ids
6054
6261
  #
6055
6262
  attr_accessor :delivery_profile_ids
6263
+ attr_accessor :private_key
6264
+ attr_accessor :public_key
6265
+ attr_accessor :pass_phrase
6056
6266
 
6057
6267
  def id=(val)
6058
6268
  @id = val.to_i
@@ -6456,6 +6666,7 @@ module Kaltura
6456
6666
  class KalturaUser < KalturaObjectBase
6457
6667
  attr_accessor :id
6458
6668
  attr_accessor :partner_id
6669
+ attr_accessor :type
6459
6670
  attr_accessor :screen_name
6460
6671
  attr_accessor :full_name
6461
6672
  attr_accessor :email
@@ -6502,6 +6713,9 @@ module Kaltura
6502
6713
  def partner_id=(val)
6503
6714
  @partner_id = val.to_i
6504
6715
  end
6716
+ def type=(val)
6717
+ @type = val.to_i
6718
+ end
6505
6719
  def date_of_birth=(val)
6506
6720
  @date_of_birth = val.to_i
6507
6721
  end
@@ -6552,6 +6766,21 @@ module Kaltura
6552
6766
  end
6553
6767
  end
6554
6768
 
6769
+ class KalturaUserLoginData < KalturaObjectBase
6770
+ attr_accessor :id
6771
+ attr_accessor :login_email
6772
+
6773
+ end
6774
+
6775
+ class KalturaUserLoginDataListResponse < KalturaObjectBase
6776
+ attr_accessor :objects
6777
+ attr_accessor :total_count
6778
+
6779
+ def total_count=(val)
6780
+ @total_count = val.to_i
6781
+ end
6782
+ end
6783
+
6555
6784
  class KalturaUserRole < KalturaObjectBase
6556
6785
  attr_accessor :id
6557
6786
  attr_accessor :name
@@ -7892,6 +8121,9 @@ module Kaltura
7892
8121
  # Free text search on user id or screen name
7893
8122
  #
7894
8123
  attr_accessor :free_text
8124
+ # Return a list of categoryUser that related to the userId in this field by groups
8125
+ #
8126
+ attr_accessor :related_groups_by_user_id
7895
8127
 
7896
8128
  def category_direct_members=(val)
7897
8129
  @category_direct_members = to_b(val)
@@ -7900,6 +8132,8 @@ module Kaltura
7900
8132
 
7901
8133
  class KalturaUserBaseFilter < KalturaFilter
7902
8134
  attr_accessor :partner_id_equal
8135
+ attr_accessor :type_equal
8136
+ attr_accessor :type_in
7903
8137
  attr_accessor :screen_name_like
7904
8138
  attr_accessor :screen_name_starts_with
7905
8139
  attr_accessor :email_like
@@ -7917,6 +8151,9 @@ module Kaltura
7917
8151
  def partner_id_equal=(val)
7918
8152
  @partner_id_equal = val.to_i
7919
8153
  end
8154
+ def type_equal=(val)
8155
+ @type_equal = val.to_i
8156
+ end
7920
8157
  def status_equal=(val)
7921
8158
  @status_equal = val.to_i
7922
8159
  end
@@ -8035,6 +8272,16 @@ module Kaltura
8035
8272
  end
8036
8273
  end
8037
8274
 
8275
+ class KalturaEntryCuePointSearchFilter < KalturaSearchItem
8276
+ attr_accessor :cue_points_free_text
8277
+ attr_accessor :cue_point_type_in
8278
+ attr_accessor :cue_point_sub_type_equal
8279
+
8280
+ def cue_point_sub_type_equal=(val)
8281
+ @cue_point_sub_type_equal = val.to_i
8282
+ end
8283
+ end
8284
+
8038
8285
  class KalturaEntryIdentifier < KalturaObjectIdentifier
8039
8286
  # Identifier of the object
8040
8287
  #
@@ -8045,10 +8292,14 @@ module Kaltura
8045
8292
  class KalturaEntryLiveStats < KalturaLiveStats
8046
8293
  attr_accessor :entry_id
8047
8294
  attr_accessor :peak_audience
8295
+ attr_accessor :peak_dvr_audience
8048
8296
 
8049
8297
  def peak_audience=(val)
8050
8298
  @peak_audience = val.to_i
8051
8299
  end
8300
+ def peak_dvr_audience=(val)
8301
+ @peak_dvr_audience = val.to_i
8302
+ end
8052
8303
  end
8053
8304
 
8054
8305
  # A boolean representation to return evaluated dynamic value
@@ -8110,6 +8361,35 @@ module Kaltura
8110
8361
 
8111
8362
  end
8112
8363
 
8364
+ class KalturaGroupUserBaseFilter < KalturaFilter
8365
+ attr_accessor :user_id_equal
8366
+ attr_accessor :user_id_in
8367
+ attr_accessor :group_id_equal
8368
+ attr_accessor :group_id_in
8369
+ attr_accessor :status_equal
8370
+ attr_accessor :status_in
8371
+ attr_accessor :created_at_greater_than_or_equal
8372
+ attr_accessor :created_at_less_than_or_equal
8373
+ attr_accessor :updated_at_greater_than_or_equal
8374
+ attr_accessor :updated_at_less_than_or_equal
8375
+
8376
+ def status_equal=(val)
8377
+ @status_equal = val.to_i
8378
+ end
8379
+ def created_at_greater_than_or_equal=(val)
8380
+ @created_at_greater_than_or_equal = val.to_i
8381
+ end
8382
+ def created_at_less_than_or_equal=(val)
8383
+ @created_at_less_than_or_equal = val.to_i
8384
+ end
8385
+ def updated_at_greater_than_or_equal=(val)
8386
+ @updated_at_greater_than_or_equal = val.to_i
8387
+ end
8388
+ def updated_at_less_than_or_equal=(val)
8389
+ @updated_at_less_than_or_equal = val.to_i
8390
+ end
8391
+ end
8392
+
8113
8393
  class KalturaITunesSyndicationFeed < KalturaBaseSyndicationFeed
8114
8394
  # feed description
8115
8395
  #
@@ -8409,6 +8689,11 @@ module Kaltura
8409
8689
  end
8410
8690
  end
8411
8691
 
8692
+ class KalturaOrCondition < KalturaCondition
8693
+ attr_accessor :conditions
8694
+
8695
+ end
8696
+
8412
8697
  class KalturaPartnerBaseFilter < KalturaFilter
8413
8698
  attr_accessor :id_equal
8414
8699
  attr_accessor :id_in
@@ -8637,6 +8922,9 @@ module Kaltura
8637
8922
  attr_accessor :server_url
8638
8923
  attr_accessor :server_username
8639
8924
  attr_accessor :server_password
8925
+ attr_accessor :server_private_key
8926
+ attr_accessor :server_public_key
8927
+ attr_accessor :server_pass_phrase
8640
8928
  attr_accessor :ftp_passive_mode
8641
8929
  attr_accessor :src_file_sync_local_path
8642
8930
  attr_accessor :src_file_sync_id
@@ -8868,13 +9156,6 @@ module Kaltura
8868
9156
 
8869
9157
  end
8870
9158
 
8871
- class KalturaUrlTokenizerUplynk < KalturaUrlTokenizer
8872
- # accountId
8873
- #
8874
- attr_accessor :account_id
8875
-
8876
- end
8877
-
8878
9159
  class KalturaUrlTokenizerVelocix < KalturaUrlTokenizer
8879
9160
  # hdsPaths
8880
9161
  #
@@ -9150,6 +9431,7 @@ module Kaltura
9150
9431
  attr_accessor :application
9151
9432
  attr_accessor :user_ids
9152
9433
  attr_accessor :playback_context
9434
+ attr_accessor :ancestor_playback_context
9153
9435
 
9154
9436
  end
9155
9437
 
@@ -9251,6 +9533,10 @@ module Kaltura
9251
9533
 
9252
9534
  end
9253
9535
 
9536
+ class KalturaGroupUserFilter < KalturaGroupUserBaseFilter
9537
+
9538
+ end
9539
+
9254
9540
  class KalturaIpAddressCondition < KalturaMatchCondition
9255
9541
 
9256
9542
  end
@@ -11976,6 +12262,52 @@ module Kaltura
11976
12262
  end
11977
12263
  end
11978
12264
 
12265
+ # Add & Manage GroupUser
12266
+ #
12267
+ class KalturaGroupUserService < KalturaServiceBase
12268
+ def initialize(client)
12269
+ super(client)
12270
+ end
12271
+
12272
+ # Add new GroupUser
12273
+ #
12274
+ def add(group_user)
12275
+ kparams = {}
12276
+ client.add_param(kparams, 'groupUser', group_user);
12277
+ client.queue_service_action_call('groupuser', 'add', kparams);
12278
+ if (client.is_multirequest)
12279
+ return nil;
12280
+ end
12281
+ return client.do_queue();
12282
+ end
12283
+
12284
+ # delete by userId and groupId
12285
+ #
12286
+ def delete(user_id, group_id)
12287
+ kparams = {}
12288
+ client.add_param(kparams, 'userId', user_id);
12289
+ client.add_param(kparams, 'groupId', group_id);
12290
+ client.queue_service_action_call('groupuser', 'delete', kparams);
12291
+ if (client.is_multirequest)
12292
+ return nil;
12293
+ end
12294
+ return client.do_queue();
12295
+ end
12296
+
12297
+ # List all GroupUsers
12298
+ #
12299
+ def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
12300
+ kparams = {}
12301
+ client.add_param(kparams, 'filter', filter);
12302
+ client.add_param(kparams, 'pager', pager);
12303
+ client.queue_service_action_call('groupuser', 'list', kparams);
12304
+ if (client.is_multirequest)
12305
+ return nil;
12306
+ end
12307
+ return client.do_queue();
12308
+ end
12309
+ end
12310
+
11979
12311
  # Manage live channel segments
11980
12312
  #
11981
12313
  class KalturaLiveChannelSegmentService < KalturaServiceBase
@@ -12262,74 +12594,18 @@ module Kaltura
12262
12594
 
12263
12595
  # Stats Service
12264
12596
  #
12265
- class KalturaStatsService < KalturaServiceBase
12597
+ class KalturaLiveStatsService < KalturaServiceBase
12266
12598
  def initialize(client)
12267
12599
  super(client)
12268
12600
  end
12269
12601
 
12270
12602
  # Will write to the event log a single line representing the event
12271
- # client version - will help interprete the line structure. different client versions might have slightly different data/data formats in the line
12272
- # event_id - number is the row number in yuval's excel
12273
- # datetime - same format as MySql's datetime - can change and should reflect the time zone
12274
- # session id - can be some big random number or guid
12275
- # partner id
12276
- # entry id
12277
- # unique viewer
12278
- # widget id
12279
- # ui_conf id
12280
- # uid - the puser id as set by the ppartner
12281
- # current point - in milliseconds
12282
- # duration - milliseconds
12283
- # user ip
12284
- # process duration - in milliseconds
12285
- # control id
12286
- # seek
12287
- # new point
12288
- # referrer
12289
- #
12290
- #
12291
12603
  # KalturaStatsEvent $event
12292
12604
  #
12293
12605
  def collect(event)
12294
12606
  kparams = {}
12295
12607
  client.add_param(kparams, 'event', event);
12296
- client.queue_service_action_call('stats', 'collect', kparams);
12297
- if (client.is_multirequest)
12298
- return nil;
12299
- end
12300
- return client.do_queue();
12301
- end
12302
-
12303
- # Will collect the kmcEvent sent form the KMC client
12304
- # // this will actually be an empty function because all events will be sent using GET and will anyway be logged in the apache log
12305
- #
12306
- def kmc_collect(kmc_event)
12307
- kparams = {}
12308
- client.add_param(kparams, 'kmcEvent', kmc_event);
12309
- client.queue_service_action_call('stats', 'kmcCollect', kparams);
12310
- if (client.is_multirequest)
12311
- return nil;
12312
- end
12313
- return client.do_queue();
12314
- end
12315
-
12316
- def report_kce_error(kaltura_ce_error)
12317
- kparams = {}
12318
- client.add_param(kparams, 'kalturaCEError', kaltura_ce_error);
12319
- client.queue_service_action_call('stats', 'reportKceError', kparams);
12320
- if (client.is_multirequest)
12321
- return nil;
12322
- end
12323
- return client.do_queue();
12324
- end
12325
-
12326
- # Use this action to report errors to the kaltura server.
12327
- #
12328
- def report_error(error_code, error_message)
12329
- kparams = {}
12330
- client.add_param(kparams, 'errorCode', error_code);
12331
- client.add_param(kparams, 'errorMessage', error_message);
12332
- client.queue_service_action_call('stats', 'reportError', kparams);
12608
+ client.queue_service_action_call('livestats', 'collect', kparams);
12333
12609
  if (client.is_multirequest)
12334
12610
  return nil;
12335
12611
  end
@@ -14096,6 +14372,83 @@ module Kaltura
14096
14372
  end
14097
14373
  end
14098
14374
 
14375
+ # Stats Service
14376
+ #
14377
+ class KalturaStatsService < KalturaServiceBase
14378
+ def initialize(client)
14379
+ super(client)
14380
+ end
14381
+
14382
+ # Will write to the event log a single line representing the event
14383
+ # client version - will help interprete the line structure. different client versions might have slightly different data/data formats in the line
14384
+ # event_id - number is the row number in yuval's excel
14385
+ # datetime - same format as MySql's datetime - can change and should reflect the time zone
14386
+ # session id - can be some big random number or guid
14387
+ # partner id
14388
+ # entry id
14389
+ # unique viewer
14390
+ # widget id
14391
+ # ui_conf id
14392
+ # uid - the puser id as set by the ppartner
14393
+ # current point - in milliseconds
14394
+ # duration - milliseconds
14395
+ # user ip
14396
+ # process duration - in milliseconds
14397
+ # control id
14398
+ # seek
14399
+ # new point
14400
+ # referrer
14401
+ #
14402
+ #
14403
+ # KalturaStatsEvent $event
14404
+ #
14405
+ def collect(event)
14406
+ kparams = {}
14407
+ client.add_param(kparams, 'event', event);
14408
+ client.queue_service_action_call('stats', 'collect', kparams);
14409
+ if (client.is_multirequest)
14410
+ return nil;
14411
+ end
14412
+ return client.do_queue();
14413
+ end
14414
+
14415
+ # Will collect the kmcEvent sent form the KMC client
14416
+ # // this will actually be an empty function because all events will be sent using GET and will anyway be logged in the apache log
14417
+ #
14418
+ def kmc_collect(kmc_event)
14419
+ kparams = {}
14420
+ client.add_param(kparams, 'kmcEvent', kmc_event);
14421
+ client.queue_service_action_call('stats', 'kmcCollect', kparams);
14422
+ if (client.is_multirequest)
14423
+ return nil;
14424
+ end
14425
+ return client.do_queue();
14426
+ end
14427
+
14428
+ def report_kce_error(kaltura_ce_error)
14429
+ kparams = {}
14430
+ client.add_param(kparams, 'kalturaCEError', kaltura_ce_error);
14431
+ client.queue_service_action_call('stats', 'reportKceError', kparams);
14432
+ if (client.is_multirequest)
14433
+ return nil;
14434
+ end
14435
+ return client.do_queue();
14436
+ end
14437
+
14438
+ # Use this action to report errors to the kaltura server.
14439
+ #
14440
+ def report_error(error_code, error_message)
14441
+ kparams = {}
14442
+ client.add_param(kparams, 'errorCode', error_code);
14443
+ client.add_param(kparams, 'errorMessage', error_message);
14444
+ client.queue_service_action_call('stats', 'reportError', kparams);
14445
+ if (client.is_multirequest)
14446
+ return nil;
14447
+ end
14448
+ return client.do_queue();
14449
+ end
14450
+ end
14451
+
14099
14452
  # Storage Profiles service
14100
14453
  #
14101
14454
  class KalturaStorageProfileService < KalturaServiceBase
@@ -15427,6 +15780,13 @@ module Kaltura
15427
15780
  end
15428
15781
  return @flavor_params_service
15429
15782
  end
15783
+ attr_reader :group_user_service
15784
+ def group_user_service
15785
+ if (@group_user_service == nil)
15786
+ @group_user_service = KalturaGroupUserService.new(self)
15787
+ end
15788
+ return @group_user_service
15789
+ end
15430
15790
  attr_reader :live_channel_segment_service
15431
15791
  def live_channel_segment_service
15432
15792
  if (@live_channel_segment_service == nil)
@@ -15448,12 +15808,12 @@ module Kaltura
15448
15808
  end
15449
15809
  return @live_reports_service
15450
15810
  end
15451
- attr_reader :stats_service
15452
- def stats_service
15453
- if (@stats_service == nil)
15454
- @stats_service = KalturaStatsService.new(self)
15811
+ attr_reader :live_stats_service
15812
+ def live_stats_service
15813
+ if (@live_stats_service == nil)
15814
+ @live_stats_service = KalturaLiveStatsService.new(self)
15455
15815
  end
15456
- return @stats_service
15816
+ return @live_stats_service
15457
15817
  end
15458
15818
  attr_reader :live_stream_service
15459
15819
  def live_stream_service
@@ -15553,6 +15913,13 @@ module Kaltura
15553
15913
  end
15554
15914
  return @session_service
15555
15915
  end
15916
+ attr_reader :stats_service
15917
+ def stats_service
15918
+ if (@stats_service == nil)
15919
+ @stats_service = KalturaStatsService.new(self)
15920
+ end
15921
+ return @stats_service
15922
+ end
15556
15923
  attr_reader :storage_profile_service
15557
15924
  def storage_profile_service
15558
15925
  if (@storage_profile_service == nil)